What should I do if I need to get user input while an item is being processed?

What should I do if I need to get user input while an item is being processed?

It's important to return from the TransportSetItemOutput event quickly. For portability reasons it's a bad idea to prompt an operator for input during this event. If you need to prompt the operator for input, register for Ranger's ItemSuspended event then call SuspendItem() in your SetItemOutput event and return from the SetOutputEvent. 

When the check scanner is in a state where the item can be stopped, Ranger will fire the ItemSuspended event. You can then prompt the user for input and set any values for the item that you would normally set in the SetItemOutput event, such as the target pocket number. When you are ready to resume processing call Ranger's ContinueItem() call.


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

    • Related Articles

    • I'm Missing Item Data

      If you've recently switched to using the CR-120 or the CR-150 from another scanner and seem to be experiencing loss of item data, please make a review of your source code during TransportNewItem, TransportSetItemOutput, and TransportItemInPocket. ...
    • How do I get a CeiVS log?

      You can get the The CeiVS file by changing the registry key path: HKEY_CURRENT_USER\Software\Canon Electronics Inc.\CeiVScan\(CeiFolder) The last folder in the path will differ depending on which Canon Transport you're using: If you're using a ...
    • How are ReadyToFeed, TrackClear and item events related?

      Your application may begin or resume feeding whenever the TransportReadyToFeedState() event fires. When the TransportReadyToFeedState() event fires and the previous state is TransportEnablingOptions: Your Ranger options have been enabled. The scanner ...
    • Can the application specify that it does NOT need to receive MICR characters?

      No. Virtually all applications request the MICR data. However, if you know that the item is not a MICR document, there is no need to try to read the MICR. You can just set the MICR text to a zero length string. Ranger® - The universal check scanner ...
    • Does my plug-in need to support suspending items?

      The suspend functionality was designed for scanners that can: Stop an item in the scanner Return the MICR, OCR, and in some cases images Allow the operator to key something Make a pocket and/or endorsement decision Send the item to the target pocket ...