Chapter 11: Bar Code Commands for 24-Pin Printers 113
Chapter 11: Bar Code Commands for 24-Pin Printers
24-pin models ML390 Turbo, ML391 Turbo, ML590 and ML591 incorporate eight bar codes, in
both the Epson LQ and IBM emulations:
• Code 39 • UPC* E
• Code 128 • EAN** 8
• Interleaved 2 of 5 • EAN** 13
• UPC* A • Postnet
*UPC = Universal Product Code
**EAN = European Article Numbering
These commands are the same as those given in Chapter 10 for the 9-pin printers; however, the
values for the various parameters are different for the 9-pin printers.
Bar Code Commands
⻬ ML390 Turbo, ML391 Turbo ⻬ ML590, ML591
Function ASCII Dec Hex
Select Bar Code
Type
and Size
ESC DLE A m
n
1
... n
8
27 16 65 m
n
1
... n
8
1B 10 41 m
n
1
... n
8
Print Bar Code Data ESC DLE B m n
[data]
27 16 66 m n
[data]
1B 10 42 m n
[data]
Print Postnet Bar
Code Data
ESC DLE C P
1
[data] 27 16 67 P
1
[data] 1B 10 43 P
1
[data]
To print bar codes other than Postnet, you must enter two commands:
• Select Bar Code Type & Size
• Print Bar Code Data (provides data and initiates printing)
To print Postnet bar codes, use the command ESC DLE C P
1
[data] discussed at the end of this
chapter.
Code 39 Bar Code Command s
Also known as 3 of 9 Code, Code 39 is used in non-retail applications. Each character has five
bars and four spaces. Code patterns have been developed for 44 different alphabetic, numeric
and graphic characters. The digits can be any ASCII character from SP to Z (32 to 102 Dec, 20
to 66 Hex).
Select Code 39 Bar Code Command
The command for selecting Code 39 is
ESC DLE A m 2 0 n
3
n
4
n
5
n
6
n
7
n
8