Exception during FeederEnabled property settings

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Moderator: Alex

Post Reply
Alex75
Posts: 1
Joined: Fri Apr 03, 2009 5:39 pm

Exception during FeederEnabled property settings

Post by Alex75 » Fri Apr 03, 2009 5:59 pm

Hi,
I try to set FeederEnabled property, but I get exception - "Error to set capability value."
My scaner model is hp scanjet 5550c.
Pls, see code below

Code: Select all

if (vsTwain.FeederPresent)
{
	vsTwain.Capability = (int)DeviceCapability.FeederEnabled;
	if (vsTwain.IsCapSupported())
	{
		//vsTwain.AutoFeed = false;
		vsTwain.FeederEnabled = _scanSettings.IsDocumentFeederEnabled; // Here "Error to set capability value."-exception is thrown !!!!!!!!!!!!!!!!!!!!!!!
	}
}
Thanks

Alex
Site Admin
Posts: 1443
Joined: Thu Jul 10, 2008 2:21 pm

Re: Exception during FeederEnabled property settings

Post by Alex » Tue Apr 07, 2009 4:24 pm

Hello Alex,

Some of scanners does not allow to change value of the FeederEnabled property and value of this property always set to True. Please check property value before setting it.

Also please share your experience with scanner on our forum here: viewforum.php?f=19

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests