None
of the Kodak scanners implement CAP_FEEDERLOADED dynamically:
These scanners do not have a paper sensor that can communicate
to the host PC. (Possible exception - the Avision-sourced
i50?) Except for a brief moment while the device is being
closed, this capability always returns TRUE. Note: EZTwain's
TWAIN_IsFeederLoaded function reads this capability.
Consequences:
Your program cannot wait for the feeder to be loaded by polling
this capability - CAP_FEEDERLOADED will always indicate that the feeder is loaded.
You cannot loop until the feeder is empty by monitoring this capability,
because there is no change when the feeder goes empty.
The scanner can tell when the feeder goes empty,
it just doesn't report it through CAP_FEEDERLOADED. Normal multipage
scanning logic per the TWAIN standard will work fine with these
scanners - just scan until the TWAIN State drops below 6. As mentioned
elsewhere, some Kodak models cannot scan single pages - once enabled,
they scan everything in the feeder.
Kodak KDS TWAIN driver: If working at low-level, set CAP_FEEDERENABLED before setting CAP_XFERCOUNT. |