Chapter 11: Bar Code Commands for 24-Pin Printers 123
Select EAN 13 Bar Code Command
The command for selecting EAN 13 is
ESC DLE A m 0 2 n
3
n
4
n
5
0 0 n
8
EAN 13 Parameters n
3
and n
4
These parameters set the vertical length of the bars in units of 15/180", as calculated by the
equation
[(n
3
x 10) + n
4
] x 15/180"
where the total value must be less than or equal to 25.
EAN 13 Parameter n
5
This parameter sets the maximum width of one character in 1/360" increments as follows:
Table 98: IBM/Epson Select EAN 13 Command —
Maximum Character Widths for Parameter n
5
Values (24-Pin Printers)
Value of n
5
Character Width
1
2
3
4
5
6
7
35/360"
49/360"
70/360"
84/360"
105/360"
119/360"
140/360"
When calculating the width of the printout, you must take into consideration the left hand
guard pattern, the center guard pattern and the right hand guard pattern.
EAN 13 Parameter n
8
This parameter sets whether or not the readable characters are printed.
n
8
= 1: print readable characters
n
8
= 0: do not print readable characters
Print EAN 13 Bar Code Command
The command for printing EAN 13 bar codes is
ESC DLE B m [data]
where parameter m designates the number of characters which will follow in the data. If you
wish to include a check digit, enter the ASCII character @ (64 Dec, 40 Hex) at the end of the
data.