Datamax ST-3210 Programmer's Manual

S-class series
Hide thumbs Also See for ST-3210:

Advertisement

S-Class
ST-3210
DTPL
Programmer's Manual
Corporate Headquarters
4501 Parkway Commerce Blvd.
Orlando, Fl 32808
Phone: 407-578-8007
Fax: 407-578-8377
Asia-Pacific
Datamax International
19 Loyang Way
Herbert House
#01-01 CILC Building
12 Elizabeth Way, Pinnacles
Singapore 508724
Harlow, Essex CM19 5FE UK
Phone: +65 542-2611
Phone: +44 1279 772200
Fax: +65 542-3611
Fax: +44 1279 424448

Advertisement

Table of Contents
loading

Summary of Contents for Datamax ST-3210

  • Page 1 S-Class ST-3210 DTPL Programmer’s Manual Corporate Headquarters 4501 Parkway Commerce Blvd. Orlando, Fl 32808 Phone: 407-578-8007 Fax: 407-578-8377 Asia-Pacific Datamax International 19 Loyang Way Herbert House #01-01 CILC Building 12 Elizabeth Way, Pinnacles Singapore 508724 Harlow, Essex CM19 5FE UK...
  • Page 2 Information in this manual is subject to change without notice and does not represent a commitment on 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 written permission of Datamax Corporation.
  • Page 3: Table Of Contents

    Contents Introduction 1.0 Manual Overview ... 1 1.1 Ticket Orientation ... 1 1.2 Inverted Characters... 1 1.3 Bar Codes ... 2 1.4 Graphics... 2 DTPL Command Sequences 2.0 Introduction ... 3 DTPL Status Commands 3.0 Introduction ... 5 DTPL File Commands 4.0 Introduction ...
  • Page 5: Manual Overview

    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.
  • Page 6: Bar Codes

    Each graphic character is one byte of data. Each dot can be positioned by using the same row/column commands. NOTE: The host to printer interface must be configured for eight bit data length in order to use dot addressable graphics.
  • Page 7: Dtpl Command Sequences

    DTPL Command Sequences Introduction The printer can accept a wide variety of commands to control the printing of data. A command sequence performs a unique function and many different sequences can be sent for each string to be printed. A command is distinguished from text by the < > characters. Any data sent between these markers is interpreted as command data.
  • Page 8 Each unit equals .0098” or 2 dots Changes the normal printing length to a user defined unit length. Each unit equals .0098” or 2 dots and saves the value in the printer’s Flash memory. This command should only be used if the ticket length is greater than the printing length.
  • Page 9: Dtpl Status Commands

    ASCII value. This command clears all permanent status commands from the Flash memory. The printer will return an ack (6) status byte after printing the last ticket in a run instead of after each ticket. Deletes the permanent parking ticket command <pt> and returns the printer to the normal mode of operation.
  • Page 10 The printer will respond with a seven-digit ticket count followed by the software level of the printer. 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 zero.
  • Page 11: Dtpl File Commands

    <SF2>, respectively. The first two logos loaded would be referenced as <LD1> and <LD2>, respectively. Permanent files are stored in flash and therefore will be saved if the printer is turned off. Temporary files are stored in ram and will be lost if the printer is turned off.
  • Page 12 DTPL Programmer’s Manual...
  • Page 13: Dtpl Print Commands

    Allows the user to update a number of fields on the ticket without re-transmitting all of the data. When this command is used, the printer will hold the print image in memory. Only text and bar codes can be updated on a ’held’ ticket.
  • Page 14 DTPL Programmer’s Manual...
  • Page 15: Dtpl Special Commands

    Prints and cuts the ticket. Causes the printer to print a ticket without cutting. Allows the user to store up to 128K bytes of logos in the Printer’s memory. Once stored, the logos can be accessed via a simple command.
  • Page 16 DTPL Programmer’s Manual...
  • Page 17: Dtpl Downloading Commands

    (<LO#> command) or the customer can download them directly (<LD#> 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.
  • Page 18 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.
  • Page 19 DTPL TEXT LOGO (MACRO) SUPPLEMENT The printer can store a string of DTPL commands (a macro) in memory as if they were a downloaded logo image. These commands could then be used later on to print a ticket by using a print logo command.
  • Page 20 DTPL Programmer’s Manual...
  • Page 21: Barcodes

    Barcodes Barcodes UPC (version A) is a numeric only code which contains a left hand border character, 6 left hand characters, a center character, 6 right hand characters and a right border character. The letter U is used to select UPC bar code. The border and center characters are defined as follows: Left Border J Center K...
  • Page 22 A typical ladder orientation bar code with interpretation and a default width of 4 would be sent as follows. "<RC0,70><FL>:123456:" An expanded (doubled) version of the above bar code would be as follows: "<RC0,70><FL><X2>:123456:" A 3:1 ratio of the above expanded (doubled) version would be as follows: "<RC0,70><FXL><X2>:123456:"...
  • Page 23 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 eight bar code. Shift characters and check digits are automatically calculated by the Printer. A typical ladder code 128 bar code would be sent as follows: "<RC0,70><OL3>^CODE128^"...
  • Page 24 DTPL Programmer’s Manual...
  • Page 25: Ascii Control Chart

    Appendix A ASCII Control Chart Char Ctrl @ Ctrl A Ctrl B Ctrl C Ctrl D Ctrl E Ctrl F Ctrl G Ctrl H Ctrl I Ctrl J Ctrl K Ctrl L Ctrl M Ctrl N Ctrl O Ctrl P Ctrl Q Ctrl R Ctrl S...
  • Page 26: Ascii Control Chart

    ASCII Control Chart (concluded) Char Char Ç á ü í é ó â ú ä ñ à Ñ å ª ç ° ê ¿ ë ® è ï î ì ¡ Ä Å ¯ É æ Æ ² ô ³ ö...

Table of Contents