The text of a manual · part 12 of 19
4800p 2D Imager User's Guide, pages 111 to 120
Pages 111 to 120 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 111
Intelligent Signature Capture - IMGBOX Note: IMGBOX commands can only be used with PDF417, Code 39, Code 128, Aztec, Codabar, and Interleaved 2 of 5 symbologies. Intelligent signature capture ships only part of an image to the host application. This method reduces transfer time and file size, while simplifying signature capture. Below is an example of an intelligent signature capture application. In this example, the operator reads the bar code, which is then transmitted to the host application. Upon the receipt of the bar code data, the host application sends the IMGBOX command, which tells the imager to output only the area of the image corresponding to the signature capture box. The imager also automatically adjusts for aspect ratio and distortion, issues that arise due to imager skew with respect to the bar code. Align the aimers with the signature area (not with the bar code). Send the IMGBOX command string after you hear the good read beep. negative positive 0123456789
An important aspect of intelligent signature capture is that all dimensions used in the application are measured as multiples of the minimum element size of the bar code. Using this method, intelligent signature capture always outputs the correct image size and resolution, no matter the distance at which the imager is held from the bar code, assuming that the entire signature capture area is within the imager’s field of view. The intelligent signature capture command string for this application is: IMGBOX40S0X70Y190W100H1R0F
IMGBOX Modifiers A - Output Image Width: This option is used to output an image of a particular width. If using this option, set the resolution to zero. B - Output Image Height This option is used to output an image of a particular height. If using this option, set the resolution to zero. D - Pixel Depth: Indicates the number of bits per pixel in the transmitted image. 8D
8 bits per pixel, grayscale image
1D
1 bit per pixel, black and white image
7-7
Page 112
F - File Format: Indicates the type of file format in which to save the image. 0F
KIM format (default)
1F
TIFF binary
2F
TIFF binary group 4, compressed
3F
TIFF grayscale
4F
Uncompressed Binary
5F
Uncompressed grayscale
6F
JPEG image
7F
Outlined image
8F
BMP format
H - Height of Signature Capture Area: In the example, the height of the area to be captured is 1 inch, resulting in a value of H = 1/0.01 = 100. The value for H is slightly larger, to accommodate some extra image capture area outside of the signature capture box. K - Gamma Correction: Gamma measures the brightness of midtone values produced by the image. You can brighten or darken an image using gamma correction. A higher gamma correction yields an overall brighter image. The lower the setting, the darker the image. A setting of 100 results in no adjustment to the image. (Default = 50K) 0K 50K
Gamma correction off
Apply gamma correction for brightening typical document image nK Apply gamma correction factor n (n = 1-255) R - Resolution of Signature Capture Area: The number of pixels that the imager outputs per each minimum bar width. The higher the value for R, the higher the quality of the image, but also the larger the file size. To specify a non-integer value for the resolution, use a number greater than or equal to 1000. For example, use 2500 to specify a resolution of 2.500. The imager automatically inserts a decimal point between the first and second digit. Set to zero when using the A and B modifiers. S - Bar Code Aspect Ratio: The ratio of the bar code height to the narrow element width. In the example, the narrow element width is .010 inches and the bar code height is 0.400 inches, resulting in a value of S = 0.4/0.01 = 40. W - Width of Signature Capture Area: In the example, the width of the area to be captured is 1.90 inches, resulting in a value of W = 1.9/0.01 = 190. The value for W is slightly larger, to accommodate some extra image capture area outside of the signature capture box. X - Horizontal Bar Code Offset: The horizontal ratio offset of the center of the signature capture area, in multiples of the minimum bar width. In the example, the horizontal offset is 0. Y - Vertical Bar Code Offset: The vertical offset of the center of the signature capture area, in multiples of the minimum bar width. Negative numbers indicate that the signature capture is above the bar code, and positive numbers indicate that the area is below the bar code. In the example, the horizontal offset is 0.70 inches, resulting in a value for Y = 0.7/0.01 = 70.
7-8
Page 113
8
OCR Programming Use this section to program the Imager for optical character recognition (OCR). The 2D imager reads 6 to 60 point OCR typeface.
Note: OCR is not as secure as bar codes. To enhance security in OCR applications, create an OCR template to match the data, and print an OCR check character. The 2D imager will read OCR-A, OCR-B, U.S. Currency Serial Number (Money), MICR E-13B, and SEMI Font. 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 8-1 for programming codes that will enable your imager to read OCR-A, OCR-B, U.S. Currency, MICR E 13 B, or SEMI fonts. See "OCR Templates" on page 8-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 imager.
Note: Setting the template and check character options are essential for OCR reading.
OCR Fonts 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 eight digit default templates are reinstated for any future use of the OCR On codes listed below.
< Default All OCR Settings >
OCR Note: OCR symbols can misread when scanned sideways or upside down. Use Working Orientation, page 3-12, if your OCR symbols will not usually be presented upright to the imager. Only one OCR symbology can be read at a time.
OCR-A On allows you to scan characters in the OCR-A font. The default setting allows you to scan any eight digit combination. If you have created an OCR template, character combinations that fit the template can be scanned (see Creating an OCR Template, page 8-3).
OCR-A On
8-1
Page 114
OCR-B On allows you to scan characters in the OCR-B font. The default setting allows you to scan any eight digit combination. If you have created an OCR template, character combinations that fit the template can be scanned (see Creating an OCR Template, page 8-3).
OCR-B On
U.S. Currency Font 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 eight digit combination. If you have created an OCR template, character combinations that fit the template can be scanned (see Creating an OCR Template, page 8-3).
U.S. Currency On
MICR E13 B Font MICR E13 B On allows you to scan MICR characters on a bank check. The default setting allows you to scan any eight digit combination. If you have created an OCR template, character combinations that fit the template can be scanned (see Creating an OCR Template, page 8-3).
MICR E 13 B On
Note: TOAD characters (Transit, On Us, Amount and Dash) are output in the following manner: the transit character is output as T the amount character is output as A the on us character is output as O the dash character is output as D
8-2
Page 115
SEMI Font SEMI Font On allows you to scan the SEMI font used in the semiconductor industry.
SEMI Font 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
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. Refer to examples that follow the Template Characters table below.
8-3
Page 116
Template Characters a represents any alphanumeric character (digit or letter)
c represents that a check character is verified but not transmitted d represents any digit e represents any available OCR character g represents character from user-defined variable “g” h represents character from user-defined variable “h” i represents character from user-defined variable “g” or “h” k represents that a check character is verified but transmitted 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. Note: In MICR E13 B templates, TOAD characters (capital letters T, O, A, and D), represent Transit, On Us, Amount, and Dash.
Note: OCR templates default to eight digits, no check character. To Add an OCR Template 1. Turn on the OCR font you want to read (page 8-1). 2. Begin building the template. Scan the Enter OCR Template symbol (page 8-13). 3. Scan the characters for the string. Use the Template Characters chart above to determine what characters you need to create your format. Use the OCR Programming Chart (after the Sample Codes in the back of this manual) to scan the characters for your template. Example: You need to read any combination of eight digits. The template would be: dddddddd To create this template, you would enable the OCR-A font. Scan the Enter OCR Template symbol (page 8-13), then scan the d from the OCR Programming Chart in the back of this manual eight times. Scan Save OCR Template (page 8-13). This would let you read any string of eight digits, for example:
37680981
8-4
Page 117
Character Match Sequences On the ASCII Conversion Chart (Code Page 1252), page A-4, find the Hex value that represents the character(s) you want to match. Use the Programming Chart (inside the back cover) to scan the numbers that represent these characters. Example: You need to read three digits, three specific characters (ABC), three digits. The template would be:
} ddd414243ddd hex codes for letters A, B, and C To create this template, you would enable the OCR-A font. Scan the Enter OCR Template symbol (page 8-13). Scan the d from the OCR Programming Chart in the back of this manual three times. Then scan 414243 from the inside back cover (the hex characters for “A,” “B,” and “C”), and scan the d three more times. Scan Save OCR Template, page 8-13. This would let you read any string of three digits, “ABC,” then any string of three digits, for example:
551ABC983 Adding Spaces You may also need to put spaces in your template. Example: You need to read three digits, space, three specific characters (ABC), space, three digits. The template would be: ddd2041424320ddd hex code for a space To create this template, you would enable the OCR-A font. Scan the Enter OCR Template symbol (page 8-13). Scan the d from the OCR Programming Chart in the back of this manual three times, then scan 2041424320 from the Programming Chart on the inside back cover (the hex characters for “space,” “A,” “B,” “C,” “space”). Scan the d three more times, then scan Save OCR Template (page 8-13). This would let you read any string of three digits, space, “ABC,” space, then any string of three digits. For example:
551 ABC 983 Note: If using Quick*View to program, use the space bar to designate a space and not the hex value of 20. 4. Exit OCR Template Editor Scan Save OCR Template to save your entries. Discard OCR Template exits without saving any OCR Template changes.
8-5
Page 118
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: You need to read any combination of eight digits, or a combination of four digits, two uppercase letters, and two digits. The template would be: ddddddddtddddlldd To create this template, you would enable the OCR-A font. Scan the Enter OCR Template symbol (page 8-13). Scan the d from the OCR Programming Chart in the back of this manual eight times, then scan the t to create the “or” statement. Then you would scan the characters for the second template. Scan d four times, scan l two times, then scan d two more times. Scan Save OCR Template (page 8-13). This would let you read either type of format, for example:
99028650 or
9902XZ50 You can string together as many templates as you need.
OCR User-Defined Variables 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 8-13). The letters g and h can then be used in an OCR template to define the variable you specified. Example: You need a variable to represent the letters “A,” “B,” or “C.” The template for this variable would be: 414243 To create this template, you would enable the OCR-A font. Scan the Enter User-Defined Variable g symbol (page 8-13). Scan 414243 from the Programming Chart (the hex characters for “A,” “B,” and “C”). Scan Save OCR Template (page 8-13). 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
8-6
Page 119
This template would then let you read data that began with six digits, and had an A, B, or C trailing. So you would be able to read:
654321ABC or
654321BAC or
654321CCC Reading Multi-Row OCR The imager is capable of decoding multi-row OCR text.
Note: Reading rows longer than sixteen characters is not recommended. Consider the following example. This example shows serial commands as they would be entered using Quick*View. Example: You need to read multiple rows of OCR-A data as shown below:
12345678 ABCDEFGH First, enable the OCR-A font. To read the first row of OCR data, you would program 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 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.
8-7
Page 120
OCR Check Character You may want to print and verify a check character in order to enhance the security of your OCR application. The imager can be programmed for almost any type of check character. A number of presets are provided for common check character uses (e.g., modulo 10 and modulo 36). Scan the OCR Modulo 10 or OCR 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 imager transmits the OCR data without the check character data. You must specify the location of the check character in the template with a c. Example: You need to read any combination of seven digits, with a modulo 10 check character in the eighth position. The template would be: dddddddc To create this template, you would enable the OCR-A font. Scan the Modulo 10 Check Character symbol. Then scan the Enter OCR Template symbol, and scan the d from the OCR Programming Chart seven times, and scan the c once. Scan Save OCR Template (page 8-13). This template will let you read any combination of six digits with a correct check character after. (If the check character is invalid, the data is discarded.) For example, the following string could be scanned:
01234569 and the output would be: 0123456
OCR Modulo 10 Check Character Scan this symbol to program the OCR template for a simple modulo 10 checksum of the digits 0 through 9.
OCR Modulo 10 Check Character
OCR Modulo 36 Check Character Scan this symbol to program the OCR template for a simple modulo 36 checksum of the digits 0 through 9 and the letters A through Z.
OCR Modulo 36 Check Character
8-8