Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 13 of 19

4800p 2D Imager User's Guide, pages 121 to 130

Pages 121 to 130 of 184

The original document is the PDF (918 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the HHP 4800p and Honeywell 4800p

Page 121

OCR User-Defined Check Character You can customize the check character calculation to suit your application. 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 computation is unweighted, but the imager also supports two weighted modulo 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 Character 1. Scan the Enter OCR Check Character bar code, below.

Enter OCR Check Character 2. Enter the characters in order. For each character, look up the corresponding hex value from the ASCII Conversion Chart (Code Page 1252), page A-4. Use the Programming Chart on the inside the back cover of this manual to scan the two symbols for each hex value. 3. Scan the Save bar code on the inside back cover. Example: To program the modulo 11 check character from example #8 on page 8-9, enable the OCR-A font. Scan the Enter OCR Check Character bar code on page 8-9, then scan the following hex values in order: 3031323334353637383958 After you enter all the desired hex values, scan the Save bar code on the inside back cover of this manual.

8-9

Page 122

Weighting Options By default, the check character computation is unweighted. It is possible to use one of two weighted modulo 10 schemes. Weighting is often used to detect if two neighboring characters are transposed, a common error when an operator keys in data.

3-1-3-1 Weighted Modulo 10 Check Character Starting with the check character and working backward through the message, the imager applies a multiplier of 1, then 3, then 1, then 3, and so on. This is the checking scheme used in many EAN•UCC symbologies, including U.P.C. and Interleaved 2 of 5 (when a check digit is invoked). To apply this weighting scheme, set the OCR check character to “0123456789x3x1” or scan the following symbol:

3-1-3-1 Weighted Modulo 10 Check Character Example: Scan the 3-1-3-1 Weighted Modulo 10 Check Character symbol. Also enter the OCR template: dddddddc Then scan the string below:

01234565 The reader performs the check character computation below: (0 x 3 + 1 x 1 + 2 x 3 + 3 x 1 + 4 x 3 + 5 x 1 + 6 x 3 + 5 x 1) modulo 10 = 0 Since the result is zero, the message is considered to be valid, so the reader outputs the message: 0123456

2-1-2-1 Weighted Modulo 10 Check Character Starting with the check character and working backward through the message, the imager applies a multiplier of 1, then 2, then 1, then 2, and so on. When the result of the multiplication is greater than 9, add both digits to the running sum. This is often referred to as the LUHN formula. One common application of the

8 - 10

Page 123

LUHN formula is validate credit card numbers. This is the modulo 10 checking scheme used in MSI Code and in Code 32 Pharmaceutical (PARAF). To apply this weighting scheme, set the OCR check character to "0123456789x2x1" or scan the following symbol:

2-1-2-1 Weighted Modulo 10 Check Character Example: Scan the 2-1-2-1 Weighted Modulo 10 Check Character symbol. Also enter the OCR template: ddddddc Then scan the string below:

0128454 The reader performs the check character computation below: (0 x 1 + 1 x 2 + 2 x 1 + 8 x 2 + 4 x 1 + 5 x 2 + 4 x 1) modulo 10 = (0 + 2 + 2 + (1 + 6) + 4 + (1 + 0) + 4) modulo 10 =0 Since the result is zero, the message is considered to be valid, so the reader outputs the message: 012845

OCR ISBN Application Example One application of OCR is to read the ISBN characters typically encoded using the OCR-A or OCR-B font. This is especially useful when the ISBN number is not encoded in an EAN-13 bar code. The following example shows how to configure the imager to read the ISBN strings on books in Japan. After you have followed the steps below, you will be able to scan the following ISBN number or the additional data below it, depending on the line of text at which the imager is aimed.

1. Scan the OCR-B On bar code on page 8-2. 2. Program the user-defined variable “g” to comprise the ten digits plus the dash:

8 - 11

Page 124

01234567893. In Japan, it is common for two fields to follow the ISBN number, the three digit price field, and the four digit price field. The first field typically starts with a “C” (uppercase c), followed by four digits. The second field typically starts with a “P” or a yen symbol, followed by three or four digits, followed by an “E.” Program the user-defined variable “h” to comprise the “P” and the yen symbol (represented by a backslash). P\ 4. Scan the symbol below to set up three templates to handle the ISBN number, the three digit price field, and the four digit price field.

5. Finally, set up the ISBN check digit, which is a special position-weighted modulo 11 checksum. The imager automatically invokes the ISBN checksum for template rows that are: 1.) at least fourteen characters long, 2.) whose first four characters are the letters “ISBN,” 3.) whose last character is a check character, and 4.) when the modulo 11 check character “0123456789X” is programmed. Note that all these commands can be combined into a single serial programming command: OCRENA2,TMP”ISBNggggggggggggctCdddd hdddEtCdddd hddddE”,GPG”0123456789-”,GPH”P\”,CHK”0123456789X”. These commands can be encoded into the following Aztec Code symbol:

8 - 12

Page 125

OCR Template Codes Note: Reading more than three rows of OCR is not recommended. Contact the factory if you have an application that requires reading four or more rows of OCR.

Enter OCR Template †

Enter User-Defined Variable “g”† Enter User-Defined Variable “h”†

† One or more two-digit numbers and Save are required after reading this programming symbol. Refer to the Programming Chart on the inside the back cover of this manual.

Exit Selections

Save OCR Template

Discard OCR Template

8 - 13

Page 126

8 - 14

Page 127

9

Interface Keys Keyboard Function Relationships The following Keyboard Function Code, Hex/ASCII Value, and Full ASCII “CTRL”+ relationships apply to all terminals that can be used with the imager. Refer to page 2-7 enable Control + ASCII mode. Function Code

HEX/ASCII Value

Full ASCII “CTRL” +

NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

2 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] 6 -

9-1

Page 128

The last five characters in the Full ASCII “CTRL”+ column ( [ \ ] 6 - ), apply to US only. The following chart indicates the equivalents of these five characters for different countries. Country

Codes

United States

[

\

]

6

-

Belgium

[

<

]

6

-

Scandinavia

8

<

9

6

-

France

^

8

$

6

=

Germany

Ã

+

6

-

Italy

\

+

6

-

Switzerland

<

..

6

-

United Kingdom

[

¢

]

6

-

Denmark

8

\

9

6

-

Norway

8

\

9

6

-

Spain

[

\

]

6

-

9-2

Page 129

Supported Interface Keys

ASCII NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

HEX 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

IBM AT/XT and PS/2 Compatibles, WYSE PC/AT Supported Keys Reserved Enter (KP) Cap Lock ALT make ALT break CTRL make CTRL break CR/Enter Reserved Tab Reserved Tab Delete CR/Enter Insert Escape F11 Home Print Back Space Back Tab F12 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10

IBM XTs and Compatibles Supported Keys Reserved CR/Enter Caps Lock Reserved Reserved Reserved Reserved CR/Enter Reserved Tab Reserved Tab Delete CR/Enter Insert Escape Reserved Home Print Back Space Back Tab Reserved F1 F2 F3 F4 F5 F6 F7 F8 F9 F10

IBM, DDC, Memorex Telex, Harris* Supported Keys Reserved Enter F11 F12 F13 F14 F15 New Line F16 F17 F18 Tab/Field Forward Delete Field Exit/New Line Insert F19 Error Reset Home F20 Back Space Backfield/Back Tab F21 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10

* IBM 3191/92, 3471/72, 3196/97, 3476/77, Telex (all models)

9-3

Page 130

Supported Interface Keys ASCII NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US

HEX 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

IBM, Memorex Telex (102)* Supported Keys Reserved Enter F11 F12 F13 F14 F15 New Line F16 F17 F18 Tab/Field Forward Delete Field Exit Insert Clear Error Reset Home Print Back Space Back Tab F19 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10

Memorex Telex (88)** Supported Keys Reserved Enter PF10 PF11 PF12 Reserved Reserved New Line Field Forward Field Forward Reserved Field Forward Delete New Line Insert Erase Error Reset Reserved Print Back Space Back Field Reserved PF1 PF2 PF3 PF4 PF5 PF6 PF7 PF8 PF9 Home

* IBM 3196/97, 3476/77, 3191/92, 3471/72, Memorex Telex (all models) with 102 key keyboards ** Memorex Telex with 88 key keyboards

9-4