Lexmark MX722 Forms and Bar Code Card P4.2 Technical Reference - Page 54

EAN-13 digits and their left-hand and right-hand encodings, Digit, Left-hand encoding, Odd parity

Page 54 highlights

Lexmark Confidential until announced PCL 5 emulation: Lexmark 54 EAN-13 is based on the UPC-A standard. The EAN-13 number system code is just one digit longer than the UPC-A number system code. An EAN-13 bar code has the following physical structure: a Left-hand guard bars, or start sentinel, encoded as 101 b The second character of the number system code, encoded as described in the following table c The five characters of the manufacturer code, encoded as described in the following table d Center guard pattern, encoded as 01010 e The five characters of the product code, encoded as right-hand characters f A check digit, encoded as a right-hand character g Right-hand guard bars, or end sentinel, encoded as 101 EAN-13 digits and their left-hand and right-hand encodings Left-hand encoding Right-hand encoding Digit Odd parity (A) Even parity (B) All 0 0001101 0100111 1110010 1 0011001 0110011 1100110 2 0010011 0011011 1101100 3 0111101 0100001 1000010 4 0100011 0011101 1011100 5 0110001 0111001 1001110 6 0101111 0000101 1010000 7 0111011 0010001 1000100 8 0110111 0001001 1001000 9 0001011 0010111 1110100 The first character of the EAN-13 number system code (for example, the first digit of the EAN-13 value) is encoded in the parity of the characters of the left-hand side of the symbol. The value of the first character of EAN-13 determines the parity with which each of the characters in the left-hand side of the bar code are encoded from the table. 5 UCC-128 UCC-128 provides a worldwide format and standard for exchanging common data between companies. While other bar codes simply encode data regardless of what the data represents, UCC-128 encodes both data and what that data represents. It has a list of Application Identifiers (AIs) to include more data such as "best before" dates, batch numbers, quantities, weights, and many other attributes. Each AI tells the system what kind of data follows and in what format. UCC-128 can be expanded without making existing systems obsolete. If an AI is needed, then it can be added to the standard. Applications using existing AIs are not affected. A UCC-128 symbol has the following Code 128 structure: a A Code 128 start character (A, B, or C) b A Code 128 FNC1 character (character 102) c AI (from the AI table corresponding to data to be encoded)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

EAN-13 is based on the UPC-A standard. The EAN-13 number system code is just one digit longer than the
UPC-A number system code.
An EAN-13 bar code has the following physical structure:
a
Left-hand guard bars, or start sentinel, encoded as 101
b
The second character of the number system code, encoded as described in the following table
c
The five characters of the manufacturer code, encoded as described in the following table
d
Center guard pattern, encoded as 01010
e
The five characters of the product code, encoded as right-hand characters
f
A check digit, encoded as a right-hand character
g
Right-hand guard bars, or end sentinel, encoded as 101
EAN-13 digits and their left-hand and right-hand encodings
Digit
Left-hand encoding
Right-hand encoding
Odd parity (A)
Even parity (B)
All
0
0001101
0100111
1110010
1
0011001
0110011
1100110
2
0010011
0011011
1101100
3
0111101
0100001
1000010
4
0100011
0011101
1011100
5
0110001
0111001
1001110
6
0101111
0000101
1010000
7
0111011
0010001
1000100
8
0110111
0001001
1001000
9
0001011
0010111
1110100
The first character of the EAN-13 number system code (for example, the first digit of the EAN-13 value)
is encoded in the parity of the characters of the left-hand side of the symbol. The value of the first
character of EAN-13 determines the parity with which each of the characters in the left-hand side of the
bar code are encoded from the table.
5
UCC-128
UCC-128 provides a worldwide format and standard for exchanging common data between companies.
While other bar codes simply encode data regardless of what the data represents, UCC-128 encodes both
data and what that data represents. It has a list of Application Identifiers (AIs) to include more data such as
“best before” dates, batch numbers, quantities, weights, and many other attributes. Each AI tells the system
what kind of data follows and in what format.
UCC-128 can be expanded without making existing systems obsolete. If an AI is needed, then it can be
added to the standard. Applications using existing AIs are not affected.
A UCC-128 symbol has the following Code 128 structure:
a
A Code 128 start character (A, B, or C)
b
A Code 128 FNC1 character (character 102)
c
AI (from the AI table corresponding to data to be encoded)
Lexmark Confidential until announced
PCL 5 emulation: Lexmark
54