I am trying to use the TWAINDotNet API to control an Epson Scanner. I have almost everything working, but I can't set the dpi properly.
If I set the API at 300, 600 or even 1199 dpi, the scanner works as expected. Unfortunately when I try to set the dpi to 1200 or above, I get a TWAINException indicating "TwainDotNet.TwainNative.ConditionCode.CapabilitySequenceError". The scanner is certainly capable of 1200pi (as well as even high dpi values).
I am using TWAINDotNet from VB.Net 2010
I appreciate any comments.
Twain's "CapabilitySequenceError" means, "Capability has dependency on other capability". It will depend on your specific scanner what else you need to set before setting the dpi to 1200.
In some cases, the scanner expects caps to be set in a particular order. Off the top of my head, perhaps you need to change the scanning speed to 'slow' (I'm just guessing).