Printronix P5000LJ Manual De Referência

Página de 304
 28
Chapter
2
Configuring the PCL-II Emulation with Control Codes
Bar Codes
To print bar codes, escape sequences are sent to the printer specifying the 
type of code, bar code height, bar code header information, placement 
information, and bar code data. The following five escape sequences are 
used for bar code printing:
ESC*z#V Bar Code Selection
This sequence selects the type of bar code to be used in subsequent printing 
of bar code data. If a number other than those available is selected, the 
previously selected bar code type will be used. The following table lists the 
bar code types available and their corresponding value field numbers.
ESC*z#H Bar Code Height
This escape sequence defines the height of the bar code label in tenths of an 
inch as specified in the value field (#). To specify a bar code height of .8 
inches, the ESC*z8H escape sequence would be sent to the printer. A zero in 
the value field specifies that bar code height is determined by the current line 
spacing (1/6 or 1/8 inch for 6/8 LPI respectively, or 1/3 or 1/4 inch for double-
high/double-wide). The default bar code height is 0.6 inches.
Table 3. Bar Code Types
Bar Code Type
Character Length
Value Field No.
Code 3 of 9 (default)
Variable
0
Industrial 2 of 5
Variable
1
Interleaved 2 of 5
Variable
4
UPC A
Fixed
8
UPC E
Fixed
9
EAN 8
Fixed
10
EAN 13
Fixed
11
UCC/EAN 128
Fixed
12
Postnet
Fixed
13, 14
Royal Mail (including KIX format)
Variable
15, 16
Note
The Postnet Barcodes type 13 & 14 print 24 bars per inch. See the section 
on 256x Postal Barcodes for information on the 20 bars per inch and 22.5 
bars per inch Postal Barcodes.