Programmer's Manual Owner manual

DTPL Programmer’s Manual 5
DTPL Status Commands
3.0 Introduction
The status-enabled function must be set to activate these commands.
Command Format Description
ASCII Status <S6> or <s6> This command should be used when the host can not handle non-ASCII characters. All
status information, including the xon/xoff, will have 30h added to them to convert them
to an ASCII value.
Clear Permanent Status
Commands
<cs> This command clears all permanent status commands from the Flash memory.
Delayed Status Request <S3> or <s3> The printer will return an ack (6) status byte after printing the last ticket in a run instead
of after each ticket.
Delete Parking Ticket
Command
<dpt> Deletes the permanent parking ticket command <pt> and returns the printer to the normal
mode of operation.
Diagnostic Mode
Command
<DM> Sets the printer to diagnostic mode.
Disable Inverted Print
Mode Command
<DI> Disables inverted print mode.
Disable Shading <DS> Stops the shading of the data.
Disable Test Ticket
Acknowledge Command
<dta> Returns the printer to the normal test ticket mode in which no ack character is sent.
Download Space
Available Status
<S7> Returns the amount of available space left in the download memory area of the printer as
an 8 digit hexadecimal count.
Draw Box Command <BXx,y> Draws a box "x" dot rows tall and "y" dot columns wide.
Draw Horizontal Line
Command
<HXx> Draws a horizontal line (one dot wide) "x" dots long.
Draw Vertical Line
Command
<VXx> Draws a vertical line (one dot wide) "x" dots long.
Enable Inverted Print
Mode Command
<EI> Enables inverted print mode (white on black printing).
Enable Shading <ES> Shade of all the following data until disabled
Enable Test Ticket
Acknowledge Command
<ta> The printer will return an ack character (5) after each test ticket printed.
Expanded Character Mode
Disable Command
<xd> Sets the printer to the normal default status.
Expanded Character Mode
Enable Command
<xe> Enables the printer to print all values over 127 provided that they have modified the font
data to have valid bitmaps for those values.
Line Thickness Command <LT#> This command is used in conjunction with the line and box drawing commands. It allows
the user to change the thickness of the lines being drawn from their normal default
thickness of one dot.
Load Ticket Count
Command
<TC1234567> Allows the user to pre-load the printer's seven digit ticket count. It must contain all seven
digits –a count of 5 would be sent as <TC0000005>.