background image

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>.

Содержание ST-3210

Страница 1: ...beth Way Pinnacles Harlow Essex CM19 5FE UK Phone 44 1279 772200 Fax 44 1279 424448 Asia Pacific 19 Loyang Way 01 01 CILC Building Singapore 508724 Phone 65 542 2611 Fax 65 542 3611 Corporate Headquar...

Страница 2: ...n the part of Datamax Corporation No part of this manual may be reproduced or transmitted in any form or by any means for any purpose other than the purchaser s personal use without the expressed writ...

Страница 3: ...hics 2 DTPL Command Sequences 2 0 Introduction 3 DTPL Status Commands 3 0 Introduction 5 DTPL File Commands 4 0 Introduction 7 DTPL Print Commands 5 0 Introduction 9 DTPL Special Commands 6 0 Introduc...

Страница 4: ...ii...

Страница 5: ...of the ticket is the bottom right hand corner Data can be printed anywhere on the ticket by specifying a row and column location Characters can be rotated in any of the four directions Non rotated NR...

Страница 6: ...ots high and 1 dot wide The height of the bar can be changed in units of 8 using the bar code size command All bar codes can be expanded from their normal bar width of one dot by using the expanded X...

Страница 7: ...he largest expansion allowed Bar Code Interpretation Command BI Allows the bar code interpretation human readable code to be printed underneath the bar code The command is only active for the bar code...

Страница 8: ...ommand PL Changes the normal printing length to a user defined unit length Each unit equals 0098 or 2 dots Permanent Printing Length Command pl Changes the normal printing length to a user defined uni...

Страница 9: ...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 wi...

Страница 10: ...of the printer Purge Printer Of Remaining Tickets Command PP In this mode when the printer runs out of tickets it will purge all remaining ticket information It will also reset the ticket count to zer...

Страница 11: ...emoved Resident files are usually only factory installed PERMANENT AND TEMPORARY FILES The printer automatically assigns a sequential ID to all permanent and temporary files unless the files are prece...

Страница 12: ...8 DTPL Programmer s Manual...

Страница 13: ...ticket after printing even if it has a cutter Print Ticket And Eject z The printer will eject the ticket after the ticket is cut Print Cut Hold Ticket Image h Allows the user to update a number of fi...

Страница 14: ...10 DTPL Programmer s Manual...

Страница 15: ...ket Print No Cut 1DH Causes the printer to print a ticket without cutting Load Downloadable Logo ESC RC0 0 G BYTE1 BYTE RC G BYTES ESC Allows the user to store up to 128K bytes of logos in the Printer...

Страница 16: ...12 DTPL Programmer s Manual...

Страница 17: ...ot present on most printers DOWNLOADABLE LOGOS The printer is capable of receiving downloaded logo data and recalling it throughout the day The download logo data must be in either the DTPL image form...

Страница 18: ...aved in the 1 bit format This is the normal format for non color images The PCX file can be downloaded to the printer for use later on as a logo or it can be sent as a PCX graphics file to be printed...

Страница 19: ...nting a logo image it will print a ticket according to the DTPL commands previously sent This is a handy feature when most of the tickets have the same format and only a few lines are different It is...

Страница 20: ...16 DTPL Programmer s Manual...

Страница 21: ...am for printing UPC picket fence bar code with interpretation is as follows RC0 70 X2 BI UP5 J501234K567890L EAN8 This code is really an 8 digit UPC code A typical EAN8 ladder code follows RC0 70 X2 U...

Страница 22: ...d look like the following RC0 70 EL5 BI 9J014561K780128L The above command line would generate a 5 unit wide bar code starting on row 0 column 70 The BI command causes the interpretation to be printed...

Страница 23: ...e would be as follows RC0 110 X2 CL BI A123456B CODE 128 Code 128 is an alphanumeric bar code All code 128 data must be bracketed by a caret on both sides The letter O is used to select one twenty eig...

Страница 24: ...20 DTPL Programmer s Manual...

Страница 25: ...2C L 76 4C l 108 6C Ctrl M CR 13 0D 45 2D M 77 4D m 109 6D Ctrl N SO 14 0E 46 2E N 78 4E n 110 6E Ctrl O SI 15 0F 47 2F O 79 4F o 111 6F Ctrl P DLE 16 10 0 48 30 P 80 50 p 112 70 Ctrl Q DC1 17 11 1 4...

Страница 26: ...140 8C 1 4 172 AC 204 CC 236 EC 141 8D 173 AD 205 CD 237 ED 142 8E 174 AE 206 CE 238 EE 143 8F 175 AF 207 CF 239 EF 144 90 176 B0 208 D0 240 F0 145 91 177 B1 209 D1 241 F1 146 92 178 B2 210 D2 242 F2...

Отзывы: