What happens when a scanner is not attached/turned on?

What happens when a scanner is not attached/turned on?

This is how the logic flow works when a check scanner is not attached:
  1. The application calls Ranger.Startup()
  2. Ranger loads each plug-in and calls InitializePlugin() and AreDevicesAttached().
  3. If no devices are attached to a plug-in, then it is unloaded.
  4. If no plug-ins are attached to a device, then Ranger fires the application's TransportIsDead() event.
  5. The application typically prompts the user to attach and turned on the check scanner.
  6. Once the user acknowledges that the scanner is attached, the application calls Ranger.Startup() again and the steps above are repeated.

In short, your plug-in will be reloaded and AreDevicesAttached() will be called again when the user attaches your scanner.

Ranger® - The universal check scanner interface
Copyright © 2023 Silver Bullet Technology
www.sbullet.com

    • Related Articles

    • What is the difference between "attached" and "connected" devices?

      Attached: One or more scanners are physically attached to the PC. Ranger calls AreDevicesAttached to determine if a plug-in should be used to drive devices. This is needed because multiple plug-ins may be installed on the same PC. Connected: The ...
    • Should DeviceConnected() be called for each check scanner?

      The first plug-in function that gets called is AreDevicesAttached(). Since it returns what is essentially a yes or no answer, it presumably only reports that one or more devices are found to be available (attached) but not how many. If it returns ...
    • Why is OCR not working for my MVX scanner?

      Panini controls what options are enabled for your machine depending on what options were purchsed for that machine. It is possible that OCR has not been enabled on this machine. One way to determine if your scanner has OCR enabled is to check the ...
    • Why am I getting missing or partial images with the MICRImage scanner?

      There are two things to try when you have image issues with this scanner: Make sure you're using a current release of Ranger with current manufacture drivers. Adjust the Image buffer size of the scanner to its maximum. The attached file explains how ...
    • Windows 7 - Scanner Compatibility List

      Windows 7 support NOTE: Ranger code supports this OS. Manufacturer support is noted below. Make Model 32-bit 64-bit Notes BancTec EasyScan No No Scanner is discontinued. No planned support. Canon CR-190i Yes Yes OS support released in Ranger ...