OCR Programming 10 - 29
Digit Add Right to Left
Each character in the scanned data is assigned a numeric value (see
OCR Check Digit Multiplier on page 10-26
).
The check digit multiplier is reversed in order. Each value representing a character in the scanned data is multiplied
by its corresponding digit in the reversed multiplier, resulting in a product for each character in the scanned data.
The sum of each individual digit in all of the products is then calculated. The check digit passes if this sum modulo
Check Digit Modulus is zero.
Example:
Scanned data numeric value is 132456 (check digit is 6)
Check digit multiplier string is 123456
Digit 1
3
2
4
5
6
Multiplier 6
5
4
3 2
1
Product 6
15
8
12
10
6
Digit
add
6+ 1+5+ 8+ 1+2+ 1+0+ 6= 30
The Check Digit Modulus is 10. It passes because 30 is divisible by 10 (the remainder is 0).
Digit Add Right to Left
(02h)
Summary of Contents for DS9808 - Symbol - Wired Handheld Barcode Scanner
Page 1: ...Symbol DS9808 Digital Scanner Product Reference Guide ...
Page 2: ......
Page 3: ...Symbol DS9808 Digital Scanner Product Reference Guide 72E 112999 04 Revision A April 2010 ...
Page 16: ...xiv Symbol DS9808 Product Reference Guide ...
Page 26: ...1 6 Symbol DS9808 Product Reference Guide ...
Page 42: ...3 8 Symbol DS9808 Product Reference Guide ...
Page 116: ...5 22 Symbol DS9808 Product Reference Guide ...
Page 142: ...6 26 Symbol DS9808 Product Reference Guide ...
Page 224: ...10 32 Symbol DS9808 Product Reference Guide ...
Page 310: ...12 2 Symbol DS9808 Product Reference Guide ...
Page 354: ...13 44 Symbol DS9808 Product Reference Guide ...
Page 366: ...A 12 Symbol DS9808 Product Reference Guide ...
Page 374: ...B 8 Symbol DS9808 Product Reference Guide ...
Page 375: ...Appendix C Sample Bar Codes Code 39 UPC EAN UPC A 100 123ABC 0 12345 67890 5 ...
Page 378: ...C 4 Symbol DS9808 Product Reference Guide Maxicode QR Code US Postnet UK Postal ...
Page 414: ......
Page 415: ......