Chapter 11: Bar Code Commands for 24-Pin Printers 121
UPC E Parameter n
5
This parameter sets the maximum width of one character in 1/360" increments as follows:
Table 96: IBM/Epson Select UPC E 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 Start Code
and Stop Code patterns as shown in the table which follows.
UPC E 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 UPC E Bar Code Command
The command for printing a UPC E bar code is
ESC DLE B m [data]
where m designates the number of characters which will follow in the data. A check digit
cannot be used with UPC E bar codes.
EAN 8 Bar Code Commands
EAN bar coding is a variation of UPC coding. EAN 8 encodes eight digits. The digits can be any
ASCII character from 0 to 9 (48 to 57 Dec, 30 to 39 Hex).
Select EAN 8 Bar Code Command
The command for selecting EAN 8 is
ESC DLE A m 0 1 n
3
n
4
n
5
0 0 n
8
EAN 8 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 8 Parameter n
5
This parameter sets the maximum width of one character in 1/360" increments as follows: