9 - 7
OCR User-Defined Variables
You can create up to two of your own user variables for an OCR template. These
variables will represent any OCR readable characters. The user-defined
variables are stored under the letters “g” and “h.” Creating a user variable follows
the same steps as creating a template, but instead of scanning the
Enter OCR
Template
symbol, you scan the
Enter User-Defined Variable
). The letters g and h can then be used in an OCR template to define the
variable you specified.
Example:
You need a variable to represent the letters “A,” “B,” or “C.” The
template for this variable would be:
414243
To create this template, you would enable the OCR-A font. Scan the
Enter
User-Defined Variable g
symbol (
). Scan
414243
from the
(the hex characters for “A,” “B,” and “C”). Scan
Save
OCR Template
). This will let you read either A or B or C in any
position where you place the g. For example, you could create the following
template:
ddddddggg
This template would then let you read data that began with six digits, and had
an A, B, or C trailing. So you would be able to read:
654321ABC
or
654321BAC
or
654321CCC
Reading Multi-Row OCR
The 5X80 is capable of decoding multi-row OCR text.
Note: Reading rows longer than sixteen characters is not recommended.
Consider the following example. This example shows serial commands as they
would be entered using Quick*View.
Example:
You need to read multiple rows of OCR-A data as shown below:
12345678
ABCDEFGH
Summary of Contents for 5010
Page 1: ...5X10 5X80 5010 80 5110 80 5310 80 User s Guide ...
Page 54: ...4 26 ...
Page 62: ...5 8 ...
Page 68: ...6 6 ...
Page 124: ...7 56 ...
Page 152: ...10 6 ...
Page 178: ...11 26 ...
Page 182: ...12 4 ...
Page 190: ...A 6 ...
Page 191: ......
Page 195: ...OCR Programming Chart a e d g c h t l Discard Save r ...