5. Subtract the result from the next higher multiple of 10.

Next higher multiple of 10 over 125 = 130

130 - 125 = 5

5 is the Modulo-10check character. The data to be printed

becomes:

183145899385.

This same formula is used for EAN-13 (using the 1-12 digits) and EAN-8 (using the 1-7 digits).

UPC-E Checksum Calculation

Use the sample data of 123456 to demonstrate the UPC-E checksum calculation:

1.The 6 digit UPC-E code is converted to a 10-digit code, using an expansion scheme based on the sixth digit:

If the code

UPC-E Data

Insertion Digits

Insertion

ends in:

 

 

Position

0

abcde0

00000

3

1

abcde1

10000

3

2

abcde2

20000

3

3

abcde3

00000

4

4

abcde4

00000

5

5

abcde5

0000

6

6

abcde6

0000

6

7

abcde7

0000

6

8

abcde8

0000

6

9

abcde9

0000

6

10 digit code

ab00000cde ab10000cde ab20000cde abc00000de abcd00000e abcde00005 abcde00006 abcde00007 abcde00008 abcde00009

Because the sample UPC-E code ends in a 6, the insertion digits

0000 are inserted at the sixth digit (insertion position 6):

1234500006

2.Add the Number System Character of 0 to the sample data:

01234500006

3.Use the UPC-A check digit calculation described in the previous section to produce a check digit as if it were a UPC-A code. The check digit for the sample data is:

5

4.The complete 8 digit code consists of the Number System Character, the original 6 digit code and the check digit:

01234565

J-4

Page 135
Image 135
Worth Data 701 RF manual UPC-E Checksum Calculation, 130 125 =, 183145899385