Bar Codes - Printronix P5000LJ Series Programmer's Reference Manual

Pcl-ii/lineprinter plus programmer’s reference manual
Hide thumbs Also See for P5000LJ Series:
Table of Contents

Advertisement

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.
Bar Code Type
Code 3 of 9 (default)
Industrial 2 of 5
Interleaved 2 of 5
UPC A
UPC E
EAN 8
EAN 13
UCC/EAN 128
Postnet
Royal Mail (including KIX format)
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.
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.
28
Table 3. Bar Code Types
Character Length
Variable
Variable
Variable
Fixed
Fixed
Fixed
Fixed
Fixed
Fixed
Variable
Value Field No.
0
1
4
8
9
10
11
12
13, 14
15, 16

Advertisement

Table of Contents
loading

Table of Contents