Programming
22
TTPM3 Printer/Encoder–Technical Manual
0705
4.3.5 Positioning data on the ticket
Items to be printed are positioned by
defining the X and Y coordinate of
the upper left corner, and the
orientation.
Print can overlap other print. You
can for instance print text on top of
graphics.
4.3.6 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. (If the printer is
configured for dual consecutive
entries, you must also send a select
document entry command, see page
32.)
4.3.7 Command
acknowledgment
Ticket issuing is automatically acknowledged by the TTPM3 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 TTPM3, the ACK is still sent (read-
after-write verifies that no data is encoded).
Some other commands are also acknowledged; see “Error Codes and Status reporting”
on page 65.
NOTE!
– ACK/NAK must be enabled through parameter n5, see page 60.
SW95026A
X1
Y1
FEED
DIRECTION
X384
86 mm:Y500
(Y700 in high res mode)
110 mm: Y650
(Y900 in high res mode)
Printable width 51.07mm
North orientation at X=1, Y=1
East oriented text at X=384, Y=1
Frame
Figure 13. Coordinates on the ticket