
70
Programming
Ticket Examples
01/06/2009 TTPM3 Installation and Programming Manual P1003642-001
This command sequence will now be fully explained:
We have so far been printing text oriented in the North direction. The printer is capable of
printing in four directions.
!C Clears all previously sent definitions.
!F T N 150 20 1 2 2 1
"TTPM"
Defines a print field starting at X coordinate 150, (pixel
pos. 150), Y coordinate 20 (pixel pos. 20), with
characters of double height and double width, font 1.
X-axis resolution is 7.52 pixels/mm (0.133 mm/pixel),
Y-axis resolution is 5.7 pixels/mm (0.175 mm/pixel).
!F T N 110 70 1 1 1 1
"Printer/Encoder"
Defines a print field at X pos. 110, Y pos. 70 with
standard size characters, font 1.
!M 123456789 Defines data to be encoded in ISO defined format on
ISO track 2 (or center track) magnetic stripe as
"123456789". Reads the encoded string, compares with
the input (read-after-write).
Note • For ISO encoding, start, stop and check
digits, as well as synchronization zeroes are
automatically added by the TTPM3.
!P Encodes and prints the document. The "!F" definitions
are now stored in the printer. If another document with
the same text and layout shall be printed but with
another magnetic data string then only the following
commands need be sent to the printer:
!M 987654321
!P
This sequence will encode a ticket with a different
number on the magnetic stripe but will produce a print
picture with the same text and layout as the previous
one.
Note • If data shall be encoded on track 1 or 3, use the applicable command !J or !K to
precede the data. The same Encoding/Read-after-Write routine applies as for track 2 (or
center track) encoding. Multiple tracks can be encoded in the same operation unless the
printer uses HiCo tickets. !J <message> and !K <message> for encoding track 1 or 3 shall
precede the !M <message> and !N<message> for simultaneous encoding/read-after-write of
message data on tracks 2 and 1/3.
Note • X position range is 0–380 (at North orientation) Y position range is 0–470 for 86 mm
tickets (at North orientation).
Note • Fonts 2 and 3 can only be printed in North orientation.
Kommentare zu diesen Handbüchern