Honeywell 4800dr Barcode Guide - Page 92

Stringing Together Multiple Formats (Creating “Or” Statements), Example, Enter OCR, Template

Page 92 highlights

Example: You need to read three variable digits, three specific characters (ABC), followed by three variable digits. The template would be: dddABCddd Using Visual Xpress (see page 9-3), you can enter the template as shown above, enclosing the whole string between quotes: "dddABCddd". You may also create this character match sequence by scanning barcodes. Scan the Enter OCR Template symbol (page 7-10). Scan the d from the OCR Programming Chart in the back of this manual three times. Then scan 414243 from the inside back cover (the hex characters for "A," "B," and "C"), and scan the d three more times. Scan Save OCR Template, page 7-10. This would let you read any string of three digits, "ABC," then any string of three digits, for example: 551ABC983 (The above OCR sample is OCR-A. You must enable the OCR-A font (page 7-1) in order to read it.) Adding Spaces You may also need to put spaces in your template. A space is seen as a character, therefore you can use the directions for Character Match Sequences, above, to add spaces to a string. (The hex value for a space is 20.) 4. Exit OCR Template Editor Scan Save OCR Template to save your entries. Discard OCR Template exits without saving any OCR Template changes. Stringing Together Multiple Formats (Creating "Or" Statements) You may want to program the imager to accept many OCR formats. To do this, you would string together each format with a "t." This tells the imager to read optical characters that match any one of the formats in the template. Example: You need to read any combination of eight digits, or a combination of four digits, two uppercase letters, and two digits. The template would be: ddddddddtddddlldd To create this template, you would enable the OCR-A font. Scan the Enter OCR Template symbol (page 7-10). Scan the d from the OCR Programming Chart in the back of this manual eight times, then scan the t to create the "or" statement. Then you would scan the characters for the second template. Scan d four times, scan l two times, then scan d two more times. Scan Save OCR Template (page 710). This would let you read either type of format, for example: 99028650 or 9902XZ50 You can string together as many templates as you need. 7 - 4

  • 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 - 4
Example:
You need to read three variable digits, three specific characters (ABC), followed by three
variable digits.
The template would be:
ddd
ABC
ddd
Using Visual Xpress (see
page 9-3)
, you can enter the template as shown above, enclosing the whole
string between quotes: “dddABCddd”.
You may also create this character match sequence by scanning barcodes.
Scan the
Enter OCR
Template
symbol (
page 7-10
).
Scan the
d
from the
OCR Programming Chart
in the back of this
manual three times.
Then scan
414243
from the inside back cover (the hex characters for “A,” “B,” and
“C”), and scan the
d
three more times.
Scan
Save OCR Template,
page 7-10
.
This would let you
read any string of three digits, “ABC,” then any string of three digits, for example:
551ABC983
(The above OCR sample is OCR-A.
You must enable the OCR-A font (
page 7-1
) in order to read it.)
Adding Spaces
You may also need to put spaces in your template. A space is seen as a character, therefore you can
use the directions for Character Match Sequences, above, to add spaces to a string.
(The hex value
for a space is 20.)
4.
Exit OCR Template Editor
Scan
Save OCR Template
to save your entries.
Discard OCR Template
exits without saving any
OCR Template changes.
Stringing Together Multiple Formats
(Creating “Or” Statements)
You may want to program the imager to accept many OCR formats.
To do this, you would string together
each format with a “t.”
This tells the imager to read optical characters that match any one of the formats
in the template.
Example:
You need to read any combination of eight digits,
or
a combination of four digits, two
uppercase letters, and two digits.
The template would be:
ddddddddtddddlldd
To create this template, you would enable the OCR-A font.
Scan the
Enter OCR Template
symbol
(
page 7-10
).
Scan the
d
from the
OCR Programming Chart
in the back of this manual eight times, then
scan the
t
to create the “or” statement.
Then you would scan the characters for the second template.
Scan
d
four times, scan
l
two times, then scan
d
two more times. Scan
Save OCR Template
(
page 7-
10
).
This would let you read either type of format, for example:
99028650
or
9902XZ50
You can string together as many templates as you need.