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 15 of 16

IDAutomation SC7 USB 2D Scanner Programming Manual: String Format, pages 121 to 129

Pages 121 to 129 of 137, from IDAutomation SC7 USB 2D Scanner Programming Manual

The original document is the PDF (2.8 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 ID Automation SC7

Page 121

3. Scan the Save barcode on the inside back cover. Example: To program the modulo 11 check character from example #8 , enable the OCR-A font. Scan the Enter OCR Check Character barcode, then scan the following hex values in order: 3031323334353637383958 After you enter all the desired hex values, scan the Save barcode on the inside back cover of this manual. 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. Weighted Modulo 10 Check Character Starting with the check character and working backward through the message, the scanner 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:

Example: Scan the Weighted Modulo 10 Check Character symbol. Also enter the OCR template: dddddddc 117

Page 122

Then scan the string below:

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 a.Weighted Modulo 10 Check Character Since the result is zero, the message is considered to be valid, so the reader outputs the message: 0123456 b.Weighted Modulo 10 Check Character Starting with the check character and working backward through the message, the scanner 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 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:

Example: Scan the Weighted Modulo 10 Check Character symbol. 118

Page 123

Also enter the OCR template: ddddddc Then scan the string below:

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 barcode. The following example shows how to configure the scanner 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 scanner is aimed.

1. Scan the OCR-B On barcode 2. Program the user-defined variable “g” to comprise the ten digits plus the dash: 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, 119

Page 124

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 positionweighted modulo 11 checksum. The scanner 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. OCRENA2,TMP”ISBNggggggggggggctCdddd hdddEtCdddd hddddE”,GPG”0123456789-”,GPH”P\”,CHK”0123456789X”. These commands can be encoded into the following Aztec Code symbol:

120

Page 125

OCR Template Codes Note: Reading more than three rows of OCR is not recommended. OCR Template Codes

Exit Selections

121

Page 126

Utilities To Add a Test Code I.D. Prefix to All Symbologies This selection allows you to turn on transmission of a Code I.D. before the decoded symbology. This action first clears all current prefixes, then programs a Code I.D. prefix for all symbologies. This is a temporary setting that will be removed when the unit is power cycled. Show Data Format Scan the barcode below to show current data format settings. Resetting the Standard Product Defaults If you aren’t sure what programming options are in your imager, or you’ve changed some options and want the standard product default settings restored, scan the Standard Product Default Settings barcode below. The Menu Commands starting on page 11-5 lists the standard product default settings for each of the commands. Test Menu When you scan the Test Menu On code, then scan a programming code in this manual, the scanner displays the content of a programming code. The programming function will still occur, but in addition, the content of that programming code is output to the terminal. Note: This feature should not be used during normal scanner operation.

122

Page 127

To Add a Test Code I.D. Prefix to All Symbologies

Add Code I.D. Prefix to All Symbologies (Temporary)

Show Data Format

Data Format Settings

Standard Product Default Settings

Standard Product Default Settings

Test Menu On *Off

123

Page 128

Test Chart of Common Barcodes Additional barcode symbols may be created on-line as needed at www.bcgen.com for testing purposes. CODE-128

CODE-39

GS1 DataBar Stacked

QR Code

DataMatrix

OCR A

124

Page 129

Interface ID If you want to change the pre-programmed interface of your image engine, below.For example, a USB Virtual COM device has a Interface ID of 130. You would scan the Interface ID barcode, then 1, 3, 1 , then Save. If you make an error while scanning the digits (before scanning Save), scan the Discard code.

Interface

Interface ID

RS-232

000

USB HID (PC)

124

USB HID (Mac)

125

USB Virtual COM

130

125