Error codes and Status reporting
0705
TTPM3 Printer/Encoder–Technical Manual
67
7.4 Extended
acknowledgement
It is possible to extend the acknowledgement procedure so that most commands are
acknowledged by the printer.
To enable the function you have to the send the command:
!CA
A ticket should therefore always start with the commands:
!C
!CA
The extended acknowledgement is a command number appended to the ACK. The
command number is a 1 byte hexadecimal number according to the following table.
Command Acknowledgement When?
Normal
Extended
!P 06h
06h
80h
06h 02h
After a successful magnetic encoding.
After printing.
!C
06h 04h
After clear memory
!F
06h
05h
After formatting data in memory
!L
06h 08h
After successful track load / eject operation
!L 17
06h
06h 08h
When the lower input contains ticket stock
!L 18
06h
06h 08h
When the upper input contains ticket stock
!L 3
06h
06h 08h
When a ticket has successfully been loaded from the
front to the upper input track.
!L 4
06h
06h 08h
When successful eject through front entry
!E
06h
09h
After successful eject through rear entry
!Q
06h 14h
After transaction string is written in memory
!Z
06h
18h
After burn time is changed
!X
06h 19h
After changed resolution
The following is a simple example:
Sent to printer
Acknowledgement
!C
06h 04h
!C A
06h 04h
!F T E 309 014 10 03 02 1 "TEST TICKET WITH FULL"
06h 05h
!F T E 259 024 10 03 02 1 "75 BPI TRACK 2 STRING"
06h 05h
!M 1234567890123456789012345678901234567
06h 80h
!P 06h
02h