Honeywell 4800dr Barcode Guide - Page 94

OCR Check Character, OCR Modulo 10 Check Character, OCR Modulo 10, Example, Enter OCR Template

Page 94 highlights

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 barcode to specify the type of check character used in the OCR strings you're scanning. 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: dddddddc To create this template, you would enable the OCR-A font. Scan the Modulo 10 Check Character symbol. Then scan the Enter OCR Template symbol, and scan the d from the OCR Programming Chart seven times, and scan the c once. Scan Save OCR Template (page 7-10). This template will let you read any combination of six digits with a correct check character after. (If the check character is invalid, the data is discarded.) For example, the following string could be scanned: and the output would be: 0123456 01234569 OCR Modulo 10 Check Character Scan this symbol to program the OCR template for a simple modulo 10 checksum of the digits 0 through 9. OCR Modulo 10 Check Character 7 - 6

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

7 - 6
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 applica-
tion. 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
barcode to specify the type of check
character used in the OCR strings you’re scanning.
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:
dddddddc
To create this template, you would enable the OCR-A font.
Scan the
Modulo 10 Check Character
symbol.
Then scan the
Enter OCR Template
symbol, and scan the
d
from the
OCR Programming
Chart
seven times, and scan the
c
once.
Scan
Save OCR Template
(
page 7-10
).
This template will
let you read any combination of six digits with a correct check character after.
(If the check character
is invalid, the data is discarded.)
For example, the following string could be scanned:
01234569
and the output would be: 0123456
OCR Modulo 10 Check Character
Scan this symbol to program the OCR template for a simple modulo 10 checksum of the digits 0 through
9.
OCR Modulo 10 Check Character