Programming
0705
TTPM3 Printer/Encoder–Technical Manual
43
15 leading zero nibbles give 15 x 4 bits = 60 bits at 210 bits/inch = 7.2 mm.
FF as start sentinel encode 11111111 which is easy to detect.
99 as stop sentinel encode 10011001, equally easy to detect.
!J
21 4A
Hex
33 74
Decimal
Encode ISO data, track 1
This command encodes upper case ASCII text and digits to track 1 of the ticket.
NOTE! –
The space character is a valid encode on track 1, so remember that if
you insert a space character after !J, it will be encoded on the stripe.
See page 46 for a list of the characters that can be encoded.
!M
21 4D
Hex
33 77
Decimal
Encode ISO data, track 2
This command encodes ASCII digits to track 2 of the ticket.
!I
21 49
Hex
33 73
Decimal
Encode ISO data, track 3
This command encodes ASCII digits to track 3 of the ticket.
!D
21 44
Hex
33 68
Decimal
Reads and decodes ISO data
!D 1
Reads and decodes ISO track 1 and transmits the data to the host computer.
!D 2
Same as !D1 but reads and decodes ISO track 2 (or center track)
!D 3
Same as !D1 but reads and decodes ISO track 3
!D A
Reads and decodes all three ISO tracks
The ticket is taken from active position, and after reading, the ticket returns to active
position.
!O
21 4F
Hex
33 79
Decimal
Reads binary data
!O 1
Reads and transmits bit-by-bit data, from ISO track position 1, to the host
computer. No decoding takes place in the TTPM3. A one is transmitted as ASCII
1, and a zero as ASCII 0.
!O 2
Same as !O1 but reads and decodes ISO track 2 (or center track)
!O 3
Same as !O1 but reads and decodes ISO track 3 (or center track)
The ticket is taken from active position, and after reading, the ticket returns to active
position.