EAN13
SYMBOLOGY
EAN13
SYMBOLOGY INTRODUCTION
EAN13, based
upon the UPCA standard, was implemented by the International
Article Numbering Association (EAN) in Europe.EAN13 is a superset
of UPCA.EAN13 encodes 12 digits of numeric (0 through 9) message
data along with a trailing check digit, for a total of 13 digits
of barcode data.
An EAN13 barcode
number structure:
1)2 digits
he number system. Any number system which starts with the digit
0 is a UPCA barcode.
2) 5 digits manufacturer code.
3) 5 digits product code .
4) 1 check digit.
EAN13 checksum digit calculation
EAN13
must include a checksum digit which is based on a modulo 10
calculation as the following step:
 Consider
the rightmost digit of the message to be in an "odd"
position, and assign odd/even to each character moving from
right to left.
 Sum the
digits in all odd positions, and multiply the result by 3.
 Sum the
digits in all even positions.
 Sum the
totals calculated in steps 2 and 3.
 The check
digit is the number which, 10 minus the result of the totals
calculated in step 4 modulo 10.
Example: to
calculate "123456789012" checksum digit :
Barcode
Number 
1 
2 
3 
4 
5 
6 
7 
8 
9 
0 
1 
2 
Position
Weight 
1 
3 
1 
3 
1 
3 
1 
3 
1 
3 
1 
3 
Weighted
Sum 
1*1=1 
2*3=6 
3*1=3 
4*3=12 
5*1=5 
6*3=18 
7*1=7 
8*3=24 
9*1=9 
0*3=0 
1*1=1 
2*3=6 
Summing up
1+6+3+12+5+18+7+24+9+0+1+6=92
92 modulo
10 is 2,so the checksum digit is 102=8.
EAN13 BARCODE ENCODING STRUCTURE
An EAN13 barcode has the following physical structure:
 Lefthand
guard bars, or start sentinel, encoded as 101.
 The second
character of the number system code.
 The five
characters of the manufacturer code, encoded as described below.
 Center
guard pattern, encoded as 01010.
 The five
characters of the product code, encoded as righthand characters.
 Check
digit, encoded as a righthand character.
 Righthand
guard bars, or end sentinel, encoded as 101.
UPCA
SYMBOLOGY
UPCA is
a subset of EAN13; in reality, an UPCA
barcode is an EAN13 barcode with the first EAN13 number system
digit set to "0". UPCA
encodes 11 digits of numeric (0 through 9) message data along
with a trailing check digit, for a total of 12 digits of barcode
data.
UPCE
SYMBOLOGY
UPCE is
a variation of UPCA which allows for a more compact barcode by
eliminating "extra" zeros. Since the resulting UPCE
barcode is about half the size as an UPCA barcode,
UPCE is
generally used on products with very small packaging where a full
UPCA barcode couldn't reasonably fit.
UPCE doesn't
have a check digit encoded explicitly, rather the check digit is
encoded in the parity of the other six characters. The check digit
that is encoded is the check digit from the original UPCA barcode.
UPCE may
only be used for the number system 0. It encodes 6 digits.
EAN8
SYMBOLOGY
EAN8 encodes
7 digits of numeric (0 through 9) message data along with a trailing
check digit, for a total of 8digits of barcode data.
BOOKLAND
SYMBOLOGY
The "Bookland"
code is an EAN13 barcode starting with number 978. It encodes
9 digits ISBN number.It must include a check digit .And 5 or 2 digit
addon barcode is optional and can contain the price of the book
or periodical.
