background image

DTPL Programmer’s Manual

1

Introduction

1.0

Manual Overview

This manual is designed for users who wish to create their own label production software. Operators without
programming experience may prefer to use a label-creation software package.

This manual explains in detail the Datamax Ticket Programming Language (DTPL), how to write programs that
will enable Datamax Ticket printers to create ticket formats (designs), and allow the user to control the operation
of the printer. Ticket formats that have been created can be printed, stored, and edited.

1.1

Ticket Orientation

Each ticket is made up of a matrix of dot rows and dot columns.  The starting position on each ticket is row 0,
column 0 (0,0). This is the left top-most corner of a ticket. The end 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) characters are printed across the ticket from left to right.
Rotated right (RR) characters are printed down the ticket from top to bottom.
Rotated upside down (RU) characters are printed across the ticket from right to left
Rotated left (RL) characters are printed up the ticket from bottom to the top.

1.2

Inverted Characters

An EI (enable inversion) command turns on the inverted mode. All of the following data (except bar codes) will
be inverted until a DI (disable inversion) command is sent.

A black border will be added around the characters to improve its readability. Therefore, an inverted character is
slightly larger than a normal character. This should be remembered when positioning characters beneath inverted
characters with row/column commands.

Содержание 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...

Отзывы: