Dtpl command sequences, 0 introduction – Datamax-O'Neil S-Class DTPL Programmer’s Manual User Manual
Page 9
DTPL Programmer’s Manual
3
DTPL Command Sequences
2.0 Introduction
The printer can accept a wide variety of commands to control the printing of data. A command sequence performs
a unique function and many different sequences can be sent for each string to be printed.
A command is distinguished from text by the < > characters. Any data sent between these markers is interpreted
as command data. The field data (to be printed on the ticket) is sent with no markers. Every command sequence
must be bracketed with the < > characters, (ex.
Command Format
Description
ASCII Graphics Command
byte1 ... byte#
Sets the printer to use ASCII characters instead of straight decimal
representations of the data.
Bar Code Expanded
Command
Expands the width of a bar code by ‘X’ dots.
9 is the largest expansion allowed.
Bar Code Interpretation
Command
Allows the bar code interpretation (human readable code) to be
printed underneath the bar code. The command is only active for the
bar code immediately after it.
Bar Code Ratio Adjust
Command
Expands interleaved 2of5 and 3of9 barcodes from 2:1 to 3:1 ratio.
Bar Code Select
Command
Selects the bar code type and size:
A= U for UPC and EAN8
A= E for EAN-13
A= N (for three of nine)
A= F (for interleaved two of five)
A= C (for USS-CODABAR)
A= O (for CODE 128)
B= P (for picket-fence)
B= L (for ladder )
# = unit size of bar code
Boxsize Command
Sets the size of frame which printed characters should be printed.
x=Width and y=Height
Clear Buffer Command
This command will clear the printer’s buffer.
Delete Permanent Length
Command
This command re-enables the automatic ticket measuring function of
the printer after power up. This command clears the current printing
length and ticket length and recalibrates new values.