How do I enable double-feed detection in my Ranger application?
When it comes to enabling double-feed detection, older versions of
Ranger and newer versions behave differently. It is best to upgrade to
the latest version of Ranger whenever you can.
To enable double-feed detection, make the following call when Ranger is in the TransportChangeOptions state:
- Ranger.SetGenericOption("Optional Devices", "NeedDoubleDocDetection", "true");
To disable double-feed detection call:
- Ranger.SetGenericOption("Optional Devices", "NeedDoubleDocDetection", "false");
If
double-feed detection does not seem to work after setting the option
above, look in Ranger's driver options file for your scanner (see
Where are the Ranger INI files located?). If you find double-feed options in the driver options file, you can set them by calling
Ranger.SetDriverOption().