Page 1 of 1

Exception during FeederEnabled property settings

Posted: Fri Apr 03, 2009 5:59 pm
by Alex75
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

Re: Exception during FeederEnabled property settings

Posted: Tue Apr 07, 2009 4:24 pm
by Alex
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