OKI ML390 参考指南

下载
页码 180
Chapter 10: Bar Code Commands for 9-Pin Printers
109
UPC E Bar Code Commands
UPC E bar coding is a six-digit variation of UPC A, used for labeling small items. The digits can
be any ASCII character from 0 to 9 (48 to 57 Dec, 30 to 39 Hex).
Select UPC E Bar Code Command
The command for selecting UPC E is
ESC DLE A m 1 4 n
3
 n
4
 n
5
 0 0 n
8
UPC E Parameters n
3
 and n
4
These parameters set the vertical length of the bars in units of 6/72", as calculated by the
equation
[(n
3
 x 10) + n
4
] x 6/72"
where the total value must be less than or equal to 25.
UPC E Parameter n
5
This parameter sets the maximum width of one character in 1/144" increments as follows:
Table 80: IBM/Epson Select UPC E Command —
Character Widths for Parameter n
5
 Values (9-Pin Printers)
Value of n5
 Character Width
1
2
3
4
5
6
7
19/144"
26/144"
33/144"
40/144"
47/144"
54/144"
61/144"
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.
Table 81: IBM/Epson Select UPC E Command —
Start and Stop Codes for Parameter n
5
 Values (9-Pin Printers)
Value of n5
Start Code
Stop Code
1
2
3
4
5
6
7
6/144"
9/144"
12/144"
15/144"
18/144"
21/144"
24/144"
15/144"
21/144"
27/144"
33/144"
39/144"
45/144"
51/144"
UPC E Parameter n
8
This parameter sets whether or not the readable characters are printed.
n
8
 = 1: print readable characters