How do I get OCR and image data for pocket and print decisions and on the VX P?

How do I get OCR and image data for pocket and print decisions and on the VX P?

The following only works with two pocket models or models that have a "reverse gear".

The Panini check scanners use snippet areas to get OCR. Setting an OCR area in the GenericOptions.ini file defines a snippet area. The GenericOptions "[OcrReader1]" area is the same area as MVXOptions.ini "[Snippet1]". The "MVXOptions.ini" snippet areas overwrites the GenericOptions OCR areas.

Snippets must be used to get image or OCR data at SetItemOutput event.

Enable the Snippets

MVXOptions.ini (Driver Options file):
  1. [Snippets General]
  2. NeedSnippets=true

Enable the desired Snippet areas


  1. NeedSnippet1=true

Set the snippets that are to be retrieved before SetItemOutput event

  1. [Snippet1]
  2. // Comment out all other settings or they will overwrite the GenericOptions.ini OCR settings. If you want image data and not just OCR you may want to overwrite the settings.
  3. NeedSnippetForSort=true
GenericOptions.ini:
  1. Set the OCR area as desired
  2. To get OCR you should be able to request the OCR as normal in the SetItemOutput event.
  3. To get images you should use "GetImageSnippetByteCount" and "GetImageSnippetAddress" pass through calls in the event as well.
These pass through calls are described in the "RangerAPIAppendixMVX.doc".
Making these changes may significantly slow down the scanner and items in the track may be reverse fed to accomplish the requested operations.
Copyright © 2023 Silver Bullet Technology
www.sbullet.com