Ocr user-defined check character, Programming a user-defined check char- acter – Datalogic Scanning POWERSCAN 7000 User Manual

Page 142

Advertising
background image

OCR Programming

8-12

PowerScan

®

7000 2D

OCR User-Defined Check Character

You can customize the check character calculation to suit your applica-
tion. Each character of the check character alphabet can be programmed
in its proper order. The number of characters you enter determines the
modulo value for the calculation. By default, the check character com-
putation is unweighted, but the imager also supports two weighted mod-
ulo 10 checking schemes.

Example:

To program a modulo 11 check character, you would enter the following 11

characters in order:

0123456789X

Also enter the OCR template:

dddddddc

Enable the OCR-A font, then scan the following string:

6512351X

The imager performs the following check character computation:

(6 + 5 + 1 + 2 +3 + 5 + 1 + X) modulo 11 = 0

Since the result is zero, the message is considered to be valid, so the
reader outputs the message: 6512351

Programming a User-Defined Check Char-
acter

1. Scan the Enter OCR Check Character bar code, below.

2. Enter the characters in order. For each character, look up the cor-

responding hex value from the

ASCII Conversion Chart (Code Page

1252) on page A-4

. Use the

Programming Chart on page B-5

of this

manual to scan the two symbols for each hex value.

3. Scan the Save bar code on the

Programming Chart on page B-5

.

Example:

To program the modulo 11 check character from example #8 on

page 8-12

,

enable the OCR-A font. Scan the Enter OCR Check Character bar code on

page 8-12

, then scan the following hex values in order:

3031323334353637383958

Enter OCR Check Character

Advertising