Reference Guide

Table Of Contents
OCR Programming
345
Scroll Until Match (S)
This operator steps through scanned data one character at a time until the data matches the template.
Template Incoming data Output
S99999 AB3 No Output
PN12345 12345
32RM52700 52700
Multiple Templates
This feature sets up multiple templates for OCR decoding. To do this, follow the procedure described in
<bl_blue><em_Emphasis>OCR Template on page 17-336 (scan the <bl_blue><em_Emphasis>OCR
Template barcode, and then barcodes corresponding to numbers and letters to form the template
expression, and then
End of Message) for each template in the multiple template string, using a capital
letter X as a separator between templates.
For example, set the <bl_blue><em_Emphasis>OCR Template as 99999XAAAAA to decode OCR strings
of either 12345 or ABCDE.
Template Examples
Following are sample templates with descriptions of valid data for each definition.
Field Definition Description
"M"99977
M followed by three digits and two optional digits.
"X"997777"X"
X followed by two digits, four optional digits, and an X.
9959775599 Two digits followed by any character, a digit, two optional digits, any two
characters,
and two digits.
A55"-"999"-"99 A letter followed by two characters, a dash, three digits, a dash, and two
digits.
33A"."99 Two alphanumeric characters followed by a letter, a period, and two digits.
999992991 Five digits followed by an optional alpha, two digits, and an optional
alphanumeric.
"PN98" Literal field -
PN98
OCR Check Digit Modulus
Parameter # 688 (SSI # F1h B0h)
The check digit is the last digit (in the right-most position) in an OCR string and improves the accuracy of
the collected data. This option sets OCR module check digit calculation. The calculation is performed on
S
guide-user-color-8.5x11.book Page 345 Monday, June 1, 2020 5:43 PM
Draft v 10