UPC-A and UPC-E

 

 

 

 

 

 

 

 

 

Barcodes

Example of check digit calculation

 

 

 

 

 

 

 

 

 

 

Plain text

:

1

2

3

4

5

6

7

4

1

Plain text w/o check digit

:

1

2

3

4

5

6

7

4

 

Check digit

:

 

 

 

 

 

 

 

 

1

New number generated from odd positions

:

 

2

 

4

 

6

 

4

 

Multiplied by 2

:

2464 x 2 = 4928

 

 

 

 

Sum of digits

:

4 + 9 + 2 + 8 = 23

 

 

 

 

Sum of the even positions of the original number

 

 

 

 

 

 

 

 

 

 

and sum from the last step

:

1 + 3 + 5 + 7 + 23 = 39

 

 

Modulo 10

:

39 mod 10 = 9 (39/1110 = 3, rem. 9)

Difference from 10 is the check digit

:

10 - 9 = 1

 

 

 

 

 

 

Check digit

:

1

 

 

 

 

 

 

 

 

UPC-A and UPC-E

The number of characters in the UPC-A and UPC-E codes is fixed and is eight digits for UPC-E and twelve digits for UPC-A. The border and separator characters are automatically generated by the printer.

UPC-A

The UPC-A code has the following layout:

One digit as the system identifier 0 = Standard consumer goods 2 = Goods marked in-store

3 = Pharmaceutical and medical supplies

5 = Coupons

Five digits for the manufacturer number

Five digits for the product number

One check digit

Programmer Reference Guide

U26169-J-Z716-1-7600

Page 143
Image 143
Siemens 9015 E, 9016, 9014 manual UPC-A and UPC-E, Upc-A