Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
18
Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
19
#27 #122 #50 #05 #40 #137 #49 #50 #51 #52
0x1B 0x7A 0x32 0x05 0x28 0x89 0x31 0x32 0x33 0x34
ESC ‘z’ ‘2’ 0x05 ‘(’ 0x89 ‘1’ ‘2’ ‘3’ ‘4’
4.2.1 UCC/EAN-128 specications
The UCC/EAN-128 specication is an internationally recognized format for application
identiers in code 128 bar codes. The bar code symbology is identical to Code 128.
These identiers are not intended for point-of-sale applications. Only recognized
bodies of the UCC or EAN may assign application identiers. More information may
be found at:
http://www.ean.be/ for the EAN and
http://www.uc-council.org/ for the UCC
EAN 128 EXAMPLES:
Print all-numeric bar code “1234”, 5mm high, with human readable text in EAN-128
format:
n1 = 1 start character + EAN specied + 4 printed characters = 6
L = 5mm / 0.125mm = #40
start character = START C (numeric pairs) = #137
#27 #90 #50 #06 #40 #137 #134 #49 #50 #51 #52
0x1B 0x5A 0x32 0x06 0x28 0x89 0x86 0x31 0x32 0x33 0x34
ESC ‘Z’ ‘2’ 0x06 ‘(’ 0x89 FNC1 ‘1’ ‘2’ ‘3’ ‘4’
4.3 Interleaved 2 of 5 specications
Description: Each symbol starts with Leading Quiet Zone,
followed with Start Symbol, Data Symbols, ending with Stop Symbol and Trailing Quiet
Zone.
Character set: numeric pairs.
Elements per symbol: 10 (5 bars, 5 spaces)
Character density: 11.11 CPI
Bar width: 0.25mm
Characters per line: 16 numeric (maximum) automatically centered.
Example:
Command String Printer Output
Esc- ‘Z’-‘3’- 0x0A – 0x50 –
‘1234567890’
Prints interleaved 2 of 5 “ 12345678” , 10 mm high
Table 4.4 – Interleaved 2 of 5 - Example
4.4 UPC/EAN/JAN specications
Description: Each symbol starts with Leading Quiet Zone, followed with
Left Guard Bars, Left Data Symbols, Center Bar Pattern, Right
Data Symbols, Check Character, ending with Right Guard Bars
and Trailing Quiet Zone.
The UPC, EAN/JAN-8, EAN/JAN-13 specications comprise
an internationally recognized format for application identiers.
Unlike the UCC/EAN-128 specication, these identiers are
intended for point-of-sale applications. Only recognized
bodies of the UCC and EAN may assign application identiers.
More information may be found at:
http://www.ean.be/ for the EAN and
http://www.uc-council.org/ for the UCC
Character set: numeric - xed length.
Elements per symbol: 4 (2 bars, 2 spaces)
Character density: 14.5 CPI
Bar width: 0.25mm
Characters per line: UPC-A: 11 - plus check digit (automatically centered).
UPC-E: 6 - plus check digit (automatically centered).
EAN/JAN-8: 7 - plus check digit (automatically centered).
EAN/JAN-13: 12 - plus check digit (automatically centered).
Examples:
Command String Printer Output
Esc – ‘Z’- ‘4’ – 0x0C-0xB8 - ‘123456789’ Prints UPC- A “123456789”, 23 mm high
Esc – ‘Z’-‘4’-0x07-0xB8 – ‘0783491’ Prints UPC-E “0783491”, 23 mm high
Esc-‘Z’-‘4’-0x08-0xC8-‘65432109’ Prints EAN/JAN-8 “65432109”, 25 mm
high
Esc-‘Z’-‘4’-0x0D-0xA0 – ‘6543216543219’ Prints EAN/JAN – 13 “6543216543219”,
20 mm high
Table 4.5 - UPC/EAN/JAN Examples
Note: in all the examples where ‘9’ is the last digit to be sent the received check digit
‘9’ is ignored and recalculated in the printer. Also all heights are total height, including
a 1.23mm drop bar pattern printed after the bar code pattern.