Datamax-O'Neil Workstation series Programmer’s Guide User Manual
Page 19
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:
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.
Set the writing direction to 270 degrees counter
clockwise from horizontal
Select barcode number 1030 (Code 128 /w Auto
select)
Set the barcode height to 360 decipoints (½ inch)
Enable barcode autoprint with checksum
With the current barcode (1030) print the 10 bytes
of data: 9876543210
Set the writing direction at 0 degrees.
Set the horizontal cursor position to 720 decipoints
Set the vertical cursor position to 1440 decipoints
Select barcode number 1061 (Interleave 2 of 5)
Set the barcode height to 180 decipoints (¼ inch)
Disable barcode autoprint for this barcode
With the current barcode type (1061) print data
0123456789
Reset PCL (print the imaged data)
Reset the printer and wait for more PJL commands
Commands
Descriptions