1 | Programmer’s Guide IntelliTech International, Inc.
Thermal Printer Programmer’s Guide 12
Table 5: Example of printing Barcodes (Uncompressed Commands
<ESC>&a0p720h540V Set the writing direction to 0 degrees, the horizontal
cursor position at 720 decipoints horizontally (1
inch) and 540 decipoints vertically (¾ inch).
<ESC>$b1061c360h0a10W1234567890 Select barcode 1061 (Interleave 2 of 5 w/ Bearer
Bars), the height of the barcode to 360 decipoints
(1/2 inch), no autoprint and print the following 10
bytes: 1234567890
<ESC>E Reset PCL (this causes any imaged data to be
printed)
<ESC>%-12345X Reset the printer and wait for more PJL commands
Commands Descriptions
<ESC>%-12345X@PJL SET RESOLUTION =
300
C
R
L
F
Reset the printer and enter PJL mode
@PJL SET PAPERWIDTH=2880
C
R
L
F
Set the label width to 2880 decipoints (4 inches)
@PJL SET PAPERLENGTH=2880
C
R
L
F
Set the label length to 2880 decipoints (4 inches)
@PJL ENTER LANGUAGE = PCL
C
R
L
F
Select the PCL emulation
<ESC>&a2160H Set the horizontal cursor position to 2160
decipoints
<ESC>&720V
Set the vertical cursor position to 720 decipoints
<ESC>&a270P
Set the writing direction to 270 degrees counter
clockwise from horizontal
<ESC>$b1030C Select barcode number 1030 (Code 128 /w Auto
select)
<ESC>$b360H Set the barcode height to 360 decipoints (½ inch)
<ESC>$b2A Enable barcode autoprint with checksum
<ESC>$b10W9876543210 With the current barcode (1030) print the 10 bytes
of data: 9876543210
<ESC>&0P
Set the writing direction at 0 degrees.
<ESC>&a720H Set the horizontal cursor position to 720 decipoints
<ESC>&a540V
Set the vertical cursor position to 1440 decipoints
<ESC>$b1061C
Select barcode number 1061 (Interleave 2 of 5)
<ESC>$b360H
Set the barcode height to 180 decipoints (¼ inch)
<ESC>$b0A
Disable barcode autoprint for this barcode
<ESC>$b10W0123456789 With the current barcode type (1061) print data
0123456789
Commands Description