The text of a manual · part 28 of 35
1470/1471 Imager User's Manual: Chapter 6 OCR Programming, pages 251 to 258
Pages 251 to 258 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 251
OCR Programming
6
4. (Optional) Put spaces in your template. Example C You need to read three digits, space, three specific characters (ABC), space, three digits. The template: ddd2041424320ddd where 20 is the hex code for a space 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 2041424320 from the “General Programming Chart” in Appendix B (the hex characters for “space,” “A,” “B,” “C,” “space”), 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, space, “ABC,” space, then any string of three digits, for example: 551 ABC 983 5. Scan Save OCR Template to save your entries. Discard OCR Template exits without saving any OCR Template changes. Save OCR Template
Discard OCR Template
Stringing Together Multiple Formats (Creating “Or” Statements) You may want to program the imager to accept many OCR formats. To do this, you would string together each format with a “t.” This tells the imager to read optical characters that match any one of the formats in the template. Example D You need to read any combination of eight digits, or a combination of four digits, two uppercase letters, and two digits. The template: ddddddddtddddlldd
6-9
Page 252
1470/1471 Imager User’s Manual
To create the template in Example D 1. Start Visual Menu, choose the OCR tab, and find OCR Templates.
2. In the Template field, enter ddddddddtddddlldd 3. Click the Write Settings to Device button (
).
This template would let you read either type of format. For example: 99028650 or 9902XZ50 You can string together as many templates as you need.
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.” Example E
6-10
You need a variable to represent the letters “A,” “B,” or “C.”
Page 253
OCR Programming
6
To create the template for Example E using Visual Menu 1. Start Visual Menu, choose the OCR tab, and find OCR Templates.
2. In the Template field, enter ddddddggg. 3. In the G Variable field, enter ABC. 4. Click the Write Settings to Device button (
).
To create the template for Example E using bar codes 1. Scan the Enter User-Defined Variable “g” bar code. Enter User-Defined Variable “g”
2. Scan 414243 from the “General Programming Chart” in Appendix B (the hex characters for “A,” “B,” and “C”). 3. Scan Save OCR Template. Save OCR Template
Discard OCR Template
6-11
Page 254
1470/1471 Imager User’s Manual
This variable 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 imager to read OCR strings that have a check character. The 147X 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 imager will then only read OCR character strings with a valid check character. The 147X transmits the OCR data without the check character data. You must specify the location of the check character in the template with a c. To add an OCR Check Character in Visual Menu 1. Start Visual Menu, choose the OCR tab, and find OCR Templates.
2. In the Template field, enter your template with a c where the check character will be. For example, enter ddddddc to read any combination of six digits with a check character in the 7th position.
6-12
Page 255
OCR Programming
6
3. In the Check Character field, enter the check character. 4. Click the Write Settings to Device button (
).
Example F You need to read any combination of six digits, with a modulo 10 check character in the 7th position. The template: ddddddc To create the template in Example F 1. Scan the Modulo 10 Check Character bar code. Modulo 10 Check Character
2. Scan the Enter OCR Template bar code. Enter OCR Template
3. Scan the d from the “General Programming Chart” in Appendix B six times, and scan the c once. 4. Scan Save OCR Template. Save OCR Template
Discard OCR Template
This template will let you read any combination of six digits with a correct check character after. (If the check character is invalid, the imager will issue an error beep.) For example, the following string could be scanned: 0123455 and the output would be: 012345
6-13
Page 256
1470/1471 Imager User’s Manual
Reading Multi-Row OCR The 147X is capable of decoding multi-row OCR text. Consider the following example. Example G You need to read multiple rows of OCR data as shown below: 12345678 ABCDEFGH To read the first row of OCR data, you would menu the following template: OCRTMP"dddddddd" This template is the default OCR template. If you wanted to read the second line of data, you would use the following template: OCRTMP"llllllll" To read both lines of OCR at one time, use the variable r to indicate the start of a new row. All of the other templating variables for the individual rows work the same as previously described. For instance, in the above example, you would use the following template to read both rows: OCRTMP"ddddddddrllllllll" To read the three rows below, you would use the template command “OCRTMP”ddddddddrllllllllrlllldddd”. 12345678 ABCDEFGH ABCD1234 Note: Reading more than three rows of OCR is not recommended.
6-14
Page 257
OCR Programming
6
OCR Template Codes Enter OCR Template (see Note)
Enter User-Defined Variable “g”
Enter User-Defined Variable “h”
Modulo 10 Check Character
Modulo 36 Check Character
Note: One or more two-digit numbers and Save are required after reading this programming bar code. Refer to the “General Programming Chart” in Appendix B.
Exit Selections Save OCR Template
Discard OCR Template
6-15
Page 258
blank