Datamax 7A300007 Rev. 2 Printer User Manual


 
13
Example 1: The following escape sequence prints alphanumeric bar code "A2a", 12.5mm high, with human readable text:
n = 3 printed characters + 1 start character = 4
L = 12.5mm / 0.125mm = #100
start character = START B (full ASCII alpha numeric) = #136
Escape Sequence: Esc Z 2 4 d 88 A 2 a CR LF
Hexadecimal: 1B 5A 32 04 64 88 41 32 60 0D 0A
Decimal: 27 90 50 4 100 136 65 50 97 13 10
Example 2: The following escape sequence print all-numeric bar code "1234", 5mm high, non-human readable text:
n1 = 4 printed characters + 1 start character = 5
L = 5mm / 0.125mm = #40
start character = START C (numeric pairs) = #137
Escape Sequence: Esc z 2 5 ( 89 1 2 3 4 CR LF
Hexadecimal: 1B 7A 32 05 28 89 31 32 33 34 0D 0A
Decimal: 27 122 50 5 40 137 49 50 51 52 13 10
UCC/EAN-128 Specifications
Description
The UCC/EAN-128 specification is an internationally recognized format for application identifiers in
code 128 bar codes. The bar code symbology is identical to Code 128. These identifiers are not
intended for point-of-sale applications. Only recognized bodies of the UCC or EAN may assign
application identifiers. More information may be found at:
http://www.ean.be/ for the EAN and
http://www.uc-council.org/ for the UCC
Example: The following escape sequence print all-numeric bar code "1234", 5mm high, with human readable text in EAN-128
format:
n1 = 1 start character + EAN specified + 4 printed characters = 6
L = 5mm / 0.125mm = #40
start character = START C (numeric pairs) = #137
Escape Sequence: Esc Z 2 6 ( 89 FNC1 1 2 3 4 CR LF
Hexadecimal: 1B 5A 32 06 28 89 86 31 32 33 34 0D 0A
Decimal: 27 90 50 6 40 137 134 49 50 51 52 13 10