background image

14

DTPL Programmer’s Manual

The above routine should be repeated for each line of logo data. For the remaining lines, a CR should be used in
place of the row/column command if the data is to start at the beginning of the next line. If you use carriage
returns, the logo can be expanded simply by using the <HW#,#> command. Each carriage return will move the
next line down 8 dots. If you use row/column commands to position each line of logo data, you can’t expand the
logo.

To load additional logos, repeat the above procedure for each logo. The logos will automatically be assigned the
next consecutive number unless the <ID#> command is used. The printer will accept a maximum of 128k bytes of
downloadable data.

NOTE: The printer’s total capacity of downloadable space is for both logos and fonts.

PRINT DOWNLOADED LOGOS

To print a downloaded logo #2 starting at row/column position 50,120 send:
<SP50,120><LD2>

DOWNLOADING IN ASCII FORMAT

Downloading of logos can be done in ASCII format just like ASCII graphics. It follows all of the above rules
except that a small g is used instead of a capital G and the bytes of data are represented as ASCII characters not
decimal.

DOWNLOADING PCX SUPPLEMENT

PCX files are a commonly found format used by image and paint programs. These files can be downloaded
directly as is to the printer as long as they are preceded with a small DTPL string. The only restriction on the PCX
file is that it must be saved 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
immediately. To print the PCX file immediately, send the following command string:

<SP#,#><pcx><G#>pcx bytes.

The pcx must be in lowercase letters. The <SP#,#> command positions the image. If no starting point is sent, the
image will start at point 0,0. The # in the G command is equal to the number of bytes in the entire PCX file.

After the <G#> you must send the actual PCX file. There must not be any extra characters sent! For example, if
the PCX file contained 3500 bytes you would send a <G3500> command followed by the 3500 bytes.

To download the PCX file for use later on as a logo, follow the same procedure as above but send an esc character
(27d) both before and after the PCX data stream. esc<pcx><G#>pcx bytes esc.

This image can then be printed using the normal logo printing commands like <SP20,20><LD1><p>. All PCX
images can be rotated, multiplied and scaled just like any DTPL font.

PCX VS DTPL IMAGE FORMAT

The printer handles both 1-bit PCX files and DTPL image files. PCX files take up less room in memory than the
corresponding DTPL image. Therefore, more logos can fit in memory if they are in PCX format than in the DTPL
format. However, since the PCX files are saved in compressed form they must be decompressed and converted to
the DTPL Image format by the printer before the image is printed. Because of this internal converting, it takes a
little longer to print a PCX image. For most images, the difference in printing speed is insignificant.

Summary of Contents for ST-3210

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

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

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

Page 4: ...ii...

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

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

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

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

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

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

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

Page 12: ...8 DTPL Programmer s Manual...

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

Page 14: ...10 DTPL Programmer s Manual...

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

Page 16: ...12 DTPL Programmer s Manual...

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

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

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

Page 20: ...16 DTPL Programmer s Manual...

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

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

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

Page 24: ...20 DTPL Programmer s Manual...

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

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

Reviews: