Ocr Check Digit Modulus - Motorola DS6878 Product Reference Manual

Hide thumbs Also See for DS6878:
Table of Contents

Advertisement

Multiple Templates
This feature sets up multiple templates for OCR decoding. To do this, follow the procedure described in
Template on page 14-16
letters to form the template expression, then
using a capital letter X as a separator between the templates.
For example, set the
Up to 99 templates are permitted.
Template Examples
Following are sample templates with descriptions of valid data for each definition.
Field Definition
"M"99977
"X"997777"X"
9959775599
A55"-"999"-"99
33A"."99
999992991
"PN98"

OCR Check Digit Modulus

Parameter # 688
This option sets OCR module check digit calculation. The check digit is the last digit (in the right most position)
in an OCR string and improves the accuracy of the collected data. The check digit is the end product of a
calculation made on the incoming data. For check digit calculation, for example Modulus 10, alpha and
numeric characters are assigned numeric weights (see
calculation is applied to the character weights and the resulting check digit is added to the end of the data. If
the incoming data does not match the check digit, the data is considered corrupt.
The selected check digit option does not take effect until you set
To choose the Check Digit Modulus, such as 10 for modulo 10, scan the following bar code, then scan a
three-digit number from 001 to 099 representing the check digit using the numeric keypad in
Advanced Data
Formatting. The default is
(scan the
OCR Template
End of Message
OCR Template
as 99999XAAAAA to decode OCR strings of either 12345 or ABCDE.
Description
followed by three digits and two optional digits.
M
followed by two digits, four optional digits, and an X.
X
Two digits followed by any character, a digit, two optional digits, any two
characters, and two digits.
A letter followed by two characters, a dash, three digits, a dash, and two digits.
Two alphanumeric characters followed by a letter, a period, and two digits.
Five digits followed by an optional alpha, two digits, and an optional alphanumeric.
Literal field -
PN98
.
1
bar code, then bar codes corresponding to numbers and
) for each template in the multiple template string,
OCR Check Digit Multiplier on page
OCR Check Digit Validation
OCR Check Digit
OCR Programming 14 - 25
OCR
14-26). The
.
Chapter 16,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents