User manual
12
The breakdown:
Variable Character Repeat
The Variable Character Repeat control code may be used to repeat a
count for a character a variable number of times. Any specific ASCII value,
wildcard, or group can be repeated.
The control code requires 4 bytes that give the minimum and maximum
number of times (2 bytes each) that the character may appear in the tem-
plate. Because each OCR line is limited to a maximum of 50 characters,
you can shorten your string by using a variable character repeat. The min-
imum and maximum counts must be in the range from 1 to 50, with the
minimum count less than or equal to the maximum count.
Example: You need to read OCR-B characters that may contain 5, 6, or 7
numeric digits. The string, without repeating variable
characters, would be:
1 2 5 5 5 5 5 1 2 5 5 5 5 5 5 1 2 5 5 5 5 5 5 5 0
Using repeating variable characters, the template would be:
1 2 5 F 0 5 0 7 0
Control
Code
Description
1 New Template Code
3 Both OCR-A and OCR-B font
5 Wildcard: Numeric
E Fixed Character Repeat - 8 times
0
8
0 End of Template