User manual

9
Creating a Custom OCR Template
Custom OCR Templates are strings made up of various control codes, along
with standard ASCII values.
Note: In all following examples, spaces are used in template strings for
readability only.
New Template
All OCR templates begin with the New Template control code. The value
immediately following this control code indicates the font(s) for which this
template is designed.
Control Codes Chart
Control Code Value Argument
End of Template 0
New Template 1 Font:
1 - OCR-A
2 - OCR-B
3 - Both A & B
4 - MICR
5 - Semi
New Line 2
Define Group Start 3 ID [001-255]
Define Group End 4
Wildcard: Numeric 5 [0-9]
Wildcard: Alpha 6 [A-Z uppercase]
Wildcard: Alphanumeric 7 [0-9] [A-Z
uppercase]
Wildcard: Any (including space) 8
Defined Group A ID [001-255]
In Line Group Start B
In Line Group End C
Checksum D Weights, Type,
MOD
Fixed Character Repeat E [01-50]
Variable Character Repeat F Range Low [01-50]
Range High [01-50]
ASCII Hex Value x## 2 digits