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 23

IMAGETEAM 4400/4700 2D Series Hand Held Imager User's Guide: OCR Programming

Pages 103 to 110 of 182, from IMAGETEAM 4400/4700 2D Series Hand Held Imager User's Guide

The original document is the PDF (3.3 MB). 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 IT4400

Page 103

4 OCR Programming

Introduction Use this section to program the hand-held Imager to read machine readable fonts used in optical character recognition (OCR). The IT4400 reads 6 to 60 point OCR typeface

The IT4400/4700 will read the following fonts: • OCR-A 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ ()<>/\+-*$ • OCR-B 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ ()<>/\+-*$ • U.S. Currency Serial Number (Money) * You can either select an OCR default, or create your own custom template for the type of OCR format you intend to read. See "OCR" on page 4-2 for programming codes that will enable your scanner to read OCR-A, OCR-B or U.S. Currency fonts. See "Creating OCR Templates" on page 4-3 if you want to create a custom “template,” or character string that defines the length and content of OCR strings that will be read with your scanner.

4-1

Page 104

OCR Default All OCR Settings turns off all OCR capability in the scanner, so the scanner will be able to scan linear, stacked, matrix, and composite bar codes, but not OCR fonts. In addition, any OCR templates you have created are erased. The 8 digit default templates are reinstated for any future use of the OCR On codes listed below.

< Default All OCR Settings >

OCR OCR-A On allows you to scan characters in the OCR-A font. The default setting allows you to scan any 8 digit combination. If you have created an OCR template, character combinations that fit the template can be scanned (see "Creating an OCR Template"on page 4-3).

OCR-A On OCR-B On allows you to scan characters in the OCR-B font. The default setting allows you to scan any 8 digit combination. If you have created an OCR template, character combinations that fit the template can be scanned (see "Creating an OCR Template"on page 4-3).

OCR-B On U.S. Currency On allows you to scan characters in the font used on U.S. currency. The default setting allows you to scan any 8 digit combination. If you have created an OCR template, character combinations that fit the template can be scanned (see "Creating an OCR Template "on page 4-3).

U.S. Currency On

4-2

Page 105

All OCR Off turns off all OCR capability in the scanner, so the scanner will be able to scan linear, stacked, matrix, and composite bar codes, but not OCR fonts. However, any OCR templates you have created will be retained in memory.

* All OCR Off

Creating OCR Templates You can create a custom “template,” or character string that defines the length and content of OCR strings that will be read with your scanner. There are several choices when creating a custom template for your application. You can create a template for a single format, you can string together several formats, and you can create a template for a user-defined variable. These choices are described in detail below.

Creating an OCR Template A single template allows you to program the scanner to read any combination of characters in the order you specify.

Template Characters a represents any alphanumeric character (digit or letter)

c represents a check character position d represents any digit e represents any available OCR character g represents user-defined variable h represents user-defined variable l represents any uppercase letter t marks the start of a new template

All other characters represent themselves. Spaces can be used.

4-3

Page 106

To Add an OCR Template 1. Begin building the template. Scan the Enter OCR Template symbol (page 4-7). 2. Scan the characters for the string. Use the Template Characters chart above to determine what characters you need to create your format. Use the Programming Chart (inside back cover) to scan the characters for your template.

Example A: You need to read any combination of 8 digits. The template: dddddddd To create this template, you would scan the Enter OCR Template symbol (page 4-7), then scan the “d” from the inside back cover 8 times. Scan Save OCR Template (page 4-8). This would let you read any string of 8 digits, for example:

37680981 3. Character Match Sequences On the "Decimal to Hex to ASCII Conversion Chart" on page 2-34, find the Hex value that represents the character(s) you want to match. Use the Programming Chart (inside back cover) to scan the numbers that represent these characters.

Example B: You need to read 3 digits, 3 specific characters (ABC), 3 digits. The template:

} ddd414243ddd hex codes for letters A, B, and C To create this template, you would scan the Enter OCR Template symbol (page 4-7), scan the “d” from the inside back cover 3 times, scan 414243 from the inside back cover (the hex characters for “A,” “B,” and “C”), then scan the “d” from the inside back cover 3 more times. Scan Save OCR Template (page 4-8). This would let you read any string of 3 digits, “ABC,” then any string of 3 digits, for example:

551ABC983

4-4

Page 107

4. Adding Spaces You may also need to put spaces in your template.

Example C: You need to read 3 digits, space, 3 specific characters (ABC), space, 3 digits. The template: ddd2041424320ddd hex code for a space To create this template, you would scan the Enter OCR Template symbol (page 4-7), scan the “d” from the inside back cover 3 times, scan 2041424320 from the inside back cover (the hex characters for “space,” “A,” “B,” “C,” “space”), then scan the “d” from the inside back cover 3 more times. Scan Save OCR Template (page 4-8). This would let you read any string of 3 digits, space, “ABC,” space, then any string of 3 digits, for example:

551 ABC 983 5. 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 scanner to accept many OCR formats. To do this, you would string together each format with a “t.” This tells the scanner to read optical characters that match any one of the formats in the template.

Example D: You need to read any combination of 8 digits, or a combination of 4 digits, 2 uppercase letters, and 2 digits. The template: ddddddddtddddlldd To create this template, you would scan the Enter OCR Template symbol (page 4-7), scan the “d” from the inside back cover 8 times, then scan the “t” to create the “or” statement. Then you would scan the characters for the 2nd template. Scan the “d” 4 times, scan “l” 2 times, then scan “d” 2 more times. Scan Save OCR Template (page 4-8). This would let you read either type of format, for example:

99028650 or

9902XZ50 You can string together as many templates as you need.

4-5

Page 108

Creating a User-Defined Variable You can create up to two of your own user variables for an OCR template. These variables will represent any OCR readable characters. The user-defined variables are stored under the letters “g” and “h.” Creating a user variable follows the same steps as creating a template, but instead of scanning the Enter OCR Template symbol, you scan the Enter User-Defined Variable symbol (page 47). The letters g and h can then be used in an OCR template to define the variable you specified.

Example E: You need a variable to represent the letters “A,” “B,” or “C.” The template for this variable: 414243 To create this template, you would scan the Enter User-Defined Variable “g” symbol (page 4-7). Scan 414243 from the inside back cover (the hex characters for “A,” “B,” and “C”). Scan Save OCR Template (page 4-8). This will let you read either A or B or C in any position where you place the g. For example, you could create the following template: ddddddggg This template would then let you read data that began with 6 digits, and had an A, B, or C trailing. So you would be able to read:

654321ABC or

654321BAC or

654321CCC

Adding an OCR Check Character You may want to program the scanner to read OCR strings that have a check character. The IT4400/4700 reads and strips out the OCR check character created using a modulo 10 or modulo 36 table. (Modulo 10 being digits 0-9, modulo 36 being digits 0-9 and characters A-Z.) Scan the Modulo 10 or Modulo 36 Check Character bar code to specify the type of check character used in the OCR strings you’re scanning. The scanner will then only read OCR character strings with a valid check character. The IT4400/4700 transmits the OCR data without the check character data. You must specify the location of the check character in the template with a c.

4-6

Page 109

Example F: You need to read any combination of 6 digits, with a modulo 10 check character in the 7th position. The template: ddddddc To create this template, you would scan the Modulo 10 Check Character symbol (page 4-7). Then scan the Enter OCR Template symbol, scan the “d” from the inside back cover 6 times, and scan the “c” once. Scan Save OCR Template (page 4-8). This template will let you read any combination of 6 digits with a correct check character after. (If the check character is invalid, the scanner will issue an error beep.) For example, the following string could be scanned: 0123455 and the output would be:012345

OCR Template Codes

Enter OCR Template †

Enter UserDefined Variable “g”

OCR Modulo 10 Check Character

Enter UserDefined Variable “h”

OCR Modulo 36 Check Character

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

4-7

Page 110 read from a scan by OCR; it may hold reading errors

Exit Selections erin

Save OCR Template

Le

Discard OCR Template