Reference Guide

Table Of Contents
OCR Programming
351
The Check Digit Modulus is 10. It passes because 46 divided by 10 leaves a remainder of 6.
Digit Add Right To Left Simple Remainder
Each character in the scanned data is assigned a numeric value (see <bl_blue><em_Emphasis>OCR
Check Digit Multiplier on page 17-346). 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
except for the check digit's product is then calculated. The check digit passes if this sum
modulo Check Digit Modulus is equal to the check digit's product.
Example:
Scanned data numeric value is 122459 (check digit is 6)
Check digit multiplier string is 123456
Digit 1 2 2 4 5 9
Multiplier 6 5 4 3 2 1
Product 6 10 8 12 10 9
Digit add 6+ 1+0+ 8+ 1+2+ 1+0= 19 9
The Check Digit Modulus is 10. It passes because 19 divided by 10 leaves a remainder of 9.
Health Industry - HIBCC43
This is the health industry module 43 check digit standard. The check digit is the modulus 43 sum of all the
character values in a given message, and is printed as the last character in a given message.
Example:
Supplier Labeling Data Structure: + A 1 2 3 B J C 5 D 6 E 7 1
Sum of values: 41+10+1+2+3+11+19+12+5+13+6+14+7+1 = 145
Product Add Right to Left Simple Remainder
(5)
Digit Add Right to Left Simple Remainder
(6)
guide-user-color-8.5x11.book Page 351 Monday, June 1, 2020 5:43 PM
Draft v 10