Specifications

27
Command Set
Printing and Encoding Capability Overview
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Triggering a Printout
Putting text, graphics, bar and magnetic codes on the ticket as described above only builds an
image of the ticket in the printer memory. To actually print something on a ticket, you must
send a print command:
•!P
Every received ”!P CR LF” prints one ticket. (On dual document entry printers you must also
send a select document entry command, see Document Entry Commands on page 31.)
If you have variable text on your tickets, the data to be printed in the variables must precede
the !P. If two variables are used for instance, a print command could look like this:
Command Acknowledgment
Ticket issuing is automatically acknowledged by the TTPM2 by sending an ACK (06h) to the
host computer after a successful read-after-write of the encoded magnetic information.
If no encoding command and data are sent to the TTPM2, the ACK is still sent (read-after-
write verifies that no data is encoded).
Some other commands are also acknowledged, see table below.
Example •
Thursday 16 October 1999
Seat 311
!P
Note • ACK/NAK must be enabled through dipswitch settings, see DIP Switches
on page 81.