IntelliTech International, Inc. Programmer’s Guide | 1
13 Thermal Printer Programmer’s Guide
Comparing the two tables above there is a noticeable difference in the amount of data
saved by compressing the commands. In general, three bytes for each combined
command will be saved. This becomes significant with larger, more complex labels,
especially if the labels will be stored in the printer as macros.
Enable/Disable Barcode Autoprint
The following command will enable or disable human readable autoprint of the barcode
data:
<ESC>$b#A 0x1b 0x24 0x62 <0|1|2> 0x41
The command will affect only those barcodes with a human readable component. The
following arguments are valid:
0 – Disable human readable text
1 – Enable human readable text
2 – Enable human readable with checksum information
Note: The autoprint field is considered part of the barcode object. It is implied that when
the height of the barcode is specified, the height of the autoprint is included in that
barcode height. For example, if a Code 3 of 9 barcode is selected with autoprint in the
normal orientation and has a height of 1 inch, the height is measured from the top of the
barcode to the baseline of the autoprint text.
Select Barcode Type
The following will select the current barcode type:
<ESC>$b#C 0x1b 0x24 0x62 <value> 0x43
Note that all barcode commands below operate on the currently selected barcode. The
table below contains the list of barcodes and their numerical values.
Set Barcode Data Delimiter
The following will select the data delimiter for the currently selected barcode:
<ESC>$b#D 0x1b 0x24 0x62 <value> 0x44
The value parameter is the ASCII value of the character to be used as a delimiter. Refer
to the print barcode data below for a description of the “Print Barcode Data” command
and note how this command extends the capabilities of the “Print Barcode Data”
command. The following combined
1
command will select the Code 39 barcode, set the
Data Delimiter to the tilde character ‘~’ (ASCII 127) and print the barcode with the data
‘0123456789’.
<ESC>E Reset PCL (print the imaged data)
<ESC>%-12345X Reset the printer and wait for more PJL commands
1. See Section on Combined Escape Sequences.
Commands Descriptions