OCR Programming
8-10
PowerScan
®
7000 2D
Consider the following example. This example shows serial commands
as they would be entered using PowerView.
Example:
You need to read multiple rows of OCR-A data as shown below:
12345678
ABCDEFGH
First, enable the OCR-A font. To read the first row of OCR data, you
would program the following template:
OCRTMP"dddddddd".
This template is the default OCR template. If you wanted to read the
second line of data, you would use the following template:
OCRTMP"llllllll".
To read both lines of OCR at one time, use the variable
r
to indicate the
start of a new row. All the other templating variables for the individual
rows work the same as previously described. For instance, in the above
example, you would use the following template to read both rows:
OCRTMP"ddddddddrllllllll".
To read the three rows below, you would use the template command
"OCRTMP"ddddddddrllllllllrlllldddd".
12345678
ABCDEFGH
ABCD1234.
OCR Check Character
You may want to print and verify a check character in order to enhance
the security of your OCR application. The imager can be programmed
for almost any type of check character. A number of presets are provided
for common check character uses (e.g., modulo 10 and modulo 36).
Scan the
OCR Modulo 10
or
OCR Modulo 36
Check Character
bar code to
specify the type of check character used in the OCR strings you’re scan-
ning. The imager will then only read OCR character strings with a valid
check character. The imager transmits the OCR data without the check
character data. You must specify the location of the check character in
the template with a
c
.
Example:
You need to read any combination of seven digits, with a modulo 10 check
character in the eighth position. The template would be:
Summary of Contents for POWERSCAN 7000 2D Imager
Page 1: ...PowerScan 7000 2D Imager Product Reference Guide...
Page 8: ...vi PowerScan 7000 2D...
Page 30: ...Terminal Interfaces 2 12 PowerScan 7000 2D NOTES...
Page 118: ...Symbologies 6 50 PowerScan 7000 2D NOTES...
Page 130: ...Imaging Commands 7 12 PowerScan 7000 2D NOTES...
Page 148: ...OCR Programming 8 18 PowerScan 7000 2D NOTES...
Page 154: ...Utilities 9 6 PowerScan 7000 2D NOTES...
Page 182: ...Serial Programming Commands 10 28 PowerScan 7000 2D NOTES...
Page 194: ...A 8 PowerScan 7000 2D NOTES...
Page 198: ...B 4 PowerScan 7000 2D OCR Programming Chart a e d g c h t l Discard Save r...
Page 199: ...Programming Chart Product Reference Guide B 5 Programming Chart A C B F E D 1 0 2 3...
Page 201: ...Programming Chart Product Reference Guide B 7 NOTES...
Page 202: ...B 8 PowerScan 7000 2D NOTES...
Page 203: ......