Specifications

73
Single-Ticket Handling
Read and Decode
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Read and Decode
The following read (and decode) commands apply for the single ticket in active position:
The !D, !D1 and !D3 commands decode the information and scans for an end character (?). If
found, the string is sent to the host computer in ASCII format. The start character is not
included, but the stop character (?) and the checksum are transmitted. If no number is found, or
if it does not comply with the ISO standard, a NAK+A is transmitted.
In either case, the ticket is automatically returned to active position, ready for
encoding/printing or ejecting. After the read operation, the single ticket is again placed in
active position waiting for either an eject-command for a command sequence for printing or
encoding (or both) followed by !P for processing of that command string.
Encode and Print
Encode a new or modified string on the magnetic stripe. Use any of the magnetic encoding
commands !I, !J, !K, !M, !N, !N+, or !O depending on what tracks are available in your printer,
and what encoding you want. See Introduction on page 7.
Format the new print using the !F command.
Encode and print the ticket with the !P command.
The ticket will be ejected to the operator when correctly encoded and printed. In case of
unsuccessful encoding, the single ticket is cancelled
10
and a new single-ticket form has to be
inserted into the applicable document entry. A blinking yellow indicator prompts this.
!D Read and decode track 2 (or center track). With front load option, track 2
(or center track) is read and the data stored in memory when the ticket is
entered through the front entry. !D only reads the data from memory
without moving the ticket.
!D1 Read and decode track 1
!D3 Read and decode track 3
!O Read data from track 2 (or center track) and transmit data to host. No
decoding.
10. The number of encoding retries, as well as the text to be printed on cancelled tickets, can be set with the !F M
command. Cancelled tickets can be redirected to the optional front load waste bin by inserting an } or @ charac-
ter in the string to be encoded on the stripe.