Download PSC Falcon 4420 48-Key Specifications
Transcript
OCR Configuration Modulo 10 Check Digit Modulo 10 allows you to set a check digit for the numbers 0 through 9, with values corresponding to the numbers. The general formula for calculating a Modulo 10 check digit is as follows: (dn + . . . + d3 + d2 + d1 + d0) modulo 10 = 0 Modulo 10 Example 1212121212 (1 + 2 + 1 + 2 + 1 + 2 + 1 + 2 + 1 + 2 + x) modulo 10 = 0 (15 + x) modulo 10 = 0 (15 + 5) modulo 10 = 0 x = 5, so the check digit would be 5. The final string including the check digit would be 12121212125. Modulo 36 Modulo 36 allows you to set a check digit for the characters 0 - 9 and A -Z. The numbers correspond to the values just as in Modulo 10 and the values for alphabetic characters start at 10 for A and end with Z at 35, as shown in Table F-12. Table F-12. Modulo 36 character values A B C D E F G H I 10 11 12 13 14 15 16 17 18 J K L M N O P Q R 19 20 21 22 23 24 25 26 27 S T U V W X Y Z 28 29 30 31 32 33 34 35 The general formula for calculating a Modulo 36 check digit is as follows: (dn + . . . + d3 + d2 + d1 + d0) modulo 36 = 0 Product Reference Guide F-43