Table 2: Dynamic Bar Code Commands
COMMAND
HEXADECIMAL
VALUE
FUNCTION
ESC _ r # L
1B 5F 72 # 4C
Set 25 Code
#
=
Number
of
25
Code
Length.
Unit : Centimeter
ESC _ r # N
1B 5F 72 # 4E
Set 25 Code
#
=
Number
of
Bar
Code.
ESC _ r # R
1B 5F 72 # 52
Set 25 Code
#
=
Ratio
of
thick
line
and
thin
line.
Unit : 1/10
ESC _ s # L
1B 5F 73 # 4C
Set 39 Code
#
=
Number
of
39
Code
Length.
Unit : Centimeter
ESC _ s # N
1B 5F 73 # 4E
Set 39 Code
#
=
Number
of
Bar
Code.
ESC _ s # R
1B 5F 73 # 52
Set 39 Code
#
=
Ratio
of
thick
line
and
thin
line.
Unit : 1/10
ESC _ r U [Bar Code Data] @
1B 5F 72 55 [Bar Code Data ] 40
Print 25 Code
Ending Code : @
ESC _ s U [Bar Code Data] @
1B 5F 73 55 [Bar Code Data ] 40
Print 39 Code
Ending Code : @
ESC _ t # M [Bar Code Data]
1B 5F 74 # 4D [Bar Code Data ]
Set & Print UPC_A Code
#
=
Dot
number
of
each
module
(Each
EAN
code
has
7
modules)
[Bar
Code
Data
]
fix
13
code.
ESC _ w # M [Bar Code Data]
1B 5F 77 # 4D [Bar Code Data ]
Set & Print EAN_13
Code
#
=
Dot
number
of
each
module
(Each
EAN
code
has
7
modules)
[Bar
Code
Data
]
fix
13
code.
ESC _ x # M [Bar Code Data]
1B 5F 78 # 4D [Bar Code Data ]
Set & Print EAN_8 Code
#
=
Dot
number
of
each
module
(Each
EAN
code
has
7
modules)
[Bar
Code
Data
]
fix
8
code.
ESC _ y # L
1B 5F 79 # 4C
Set 128 Code
#
=
Number
of
128
Code
Length.
Unit : Centimeter
ESC _ y # N
1B 5F 79 # 4E
Set 128 Code
#
=
Number
of
Bar
Code.
ESC _ y Z [Bar Code Data] @
1B 5F 79 5A [Bar Code Data] 40
Print 128 Code
Ending
Code
:
@.
[Bar
Code
Data]
:
HEXA
Code
Type
Output
Technology
Printcenter
45
Users
Guide
78