beautypg.com

Dtpl downloading commands, 0 downloading commands – Datamax-O'Neil S-Class DTPL Programmer’s Manual User Manual

Page 19

background image

DTPL Programmer’s Manual

13


DTPL Downloading Commands

7.0 Downloading

Commands

Logos can originate in one of two manners. They can be permanently stored in the printer's memory before
leaving the factory ( command) or the customer can download them directly ( command). If the
printer is in permanent file mode then all logos downloaded by the user will be automatically stored in Flash.
They will still be available even after the printer is turned off.


RESIDENT FACTORY LOGOS

To print a factory logo, you could send the following:

The above command will print the first factory loaded logo locating it at row/column position 60,170.

NOTE: Factory logos are a customer-specified option and are not 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 format described below or the PCX format.


DTPL IMAGE FORMAT

This data is comprised mostly of DTPL graphics commands. The downloaded data must be sent in strict
accordance with the following rules.

The logo should be drawn such that the left-topmost corner is considered to be position 0,0. To enter download
mode, send the following:

ESC

byte 1,byte 2, ... byte #
or CR
byte 1,byte 2, ... byte #
.
.
ESC

All download logo data is bracketed by ESC characters. Following the ESC, the printer expects to receive a
row/column command (preferably ). The tells the printer how many bytes of logo data are to
follow. The following # bytes should be sent without any commas. The commas are used for clarity in this
example.