The text of a manual · part 27 of 35
1470/1471 Imager User's Manual: Chapter 6 OCR Programming, pages 243 to 250
Pages 243 to 250 of 316, from 1470/1471 Imager User's Manual
The original document is the PDF (2.4 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 Intermec 1470
Page 243
6 OCR Programming
Page 244
blank OCR Programming
Page 245
OCR Programming
6
Use this chapter to program the hand-held imager to read machine readable fonts used in optical character recognition (OCR). The 147X reads 6 to 60 point OCR typeface.
Introduction The 147X will read the following fonts: •
OCR-A
•
OCR-B
•
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” later in this chapter for programming codes that will enable your imager to read OCR-A, OCR-B, or U.S. Currency fonts. See “Creating OCR Templates” 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 imager. Note: The Visual Menu screens in this chapter may look different from the screens on your PC. Visual Menu only displays the settings that your imager supports.
OCR Default All OCR Settings turns off all OCR capability in the imager, so the imager 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 mode. In the OCR tab of Visual Menu, click Default under OCR Templates.
6-3
Page 246
1470/1471 Imager User’s Manual
Or scan the following bar code. Default All OCR Settings
Setting OCR Fonts 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” later in this chapter). In the OCR tab of Visual Menu, choose OCR-A On under Type.
Or scan the following bar code. 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” later in this chapter).
6-4
Page 247
OCR Programming
6
In the OCR tab of Visual Menu, choose OCR-B On under Type.
Or scan the following bar code. 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” later in this chapter). In the OCR tab of Visual Menu, choose U.S. Currency On under Type.
Or scan the following bar code. U.S. Currency On
All OCR Off turns off all OCR capability in the imager, so the imager 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 is the default setting.
6-5
Page 248
1470/1471 Imager User’s Manual
In the OCR tab of Visual Menu, choose OCR Off under Type.
Or scan the following bar code. 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 imager. 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 imager to read any combination of characters in the order you specify. Character Definition 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 r
Multi row indicator
All other characters represent themselves. Spaces can be used.
6-6
Page 249
OCR Programming
6
To add an OCR template using Visual Menu 1. Start Visual Menu, choose the OCR tab, and find OCR Templates.
2. In the Template field, enter the characters for the string. To determine what characters you need to create your format, use the Template Characters chart earlier in this chapter. Example A You need to read any combination of eight digits. Enter the following template into the Template field: dddddddd This template would let you read any string of eight digits, for example: 37680981 3. Or enter the characters for a character match sequence. Example B You need to read three digits, three specific characters (ABC), three digits. Enter the following template into the Template field: dddABCddd This template would let you read any string of three digits, “ABC,” then any string of three digits, for example: 551ABC983 4. (Optional) Put spaces in your template. Example C You need to read three digits, space, three specific characters (ABC), space, three digits. Enter the following template into the template field: ddd ABC ddd
6-7
Page 250
1470/1471 Imager User’s Manual
This template would let you read any string of three digits, space, “ABC,” space, then any string of three digits, for example: 551 ABC 983 5. To send your changes to the imager, click the Write Settings to Device button (
).
To add an OCR template using bar codes 1. Scan the Enter OCR Template bar code. Enter OCR Template
2. Scan the characters for the string. To determine what characters you need to create your format, use the Template Characters chart earlier in this chapter. To scan the characters for your template, use the “General Programming Chart” in Appendix B. Example A You need to read any combination of eight digits. The template: dddddddd To create this template, you would scan the Enter OCR Template bar code, then scan the d from the “General Programming Chart” in Appendix B eight times. Scan Save OCR Template from Step 5. This would let you read any string of eight digits, for example: 37680981 3. On the “Decimal to Hex to ASCII Conversion Chart” in Chapter 3, find the Hex value that represents the character(s) you want to match. To scan the numbers that represent these characters, use the “General Programming Chart” in Appendix B. Example B You need to read three digits, three specific characters (ABC), three digits. The template: ddd414243ddd where 414243 are the hex codes for letters A, B, and C To create this template, you would scan the Enter OCR Template bar code, scan the d from the “General Programming Chart” in Appendix B three times, scan 414243 from the “General Programming Chart” in Appendix B (the hex characters for “A,” “B,” and “C”), then scan the d from the “General Programming Chart” in Appendix B three more times. Scan Save OCR Template from Step 5. This would let you read any string of three digits, “ABC,” then any string of three digits, for example: 551ABC983
6-8