Programming
28
TTPM3 Printer/Encoder–Technical Manual
0705
!P 1
means one normal attempt plus one retry. Default is 1, which is the value used if no
digit is present.
EJECT FULLY
Adding an E (
!PE
) makes the printer eject the ticket fully so that it can fall down into a
tray (for FL3 printers)
Digits and @, or digits and E can be mixed on the same line, for example
!P5@
makes
five encoding retries, and ejects the ticket into the wastebasket.
!Q
21 51 n1...n15
Hex
33 81 n1...n15
Decimal
Write transaction string
!Q
writes a string with up to 15 ASCII characters to a non-volatile buffer memory in the
printer.
Example:
!Q asdfgh <CR><LF>
After the ticket has been correctly encoded / printed, the string is copied to a non-volatile
buffer. This buffer can be read by the !V-command.
The transaction string is committed at the precise point where a useable ticket has been
produced. The only way to reset a transaction string is to successfully print another
useable ticket that was initiated with
!Q
.
!S
21 53
Hex
33 83
Decimal
Status request
The TTPM3 responds by sending two bytes to the host computer. Byte 1 indicates the
status of the various TTPM3 sensors according to the following table. Byte 2 reports the
temperature of the thermal print head and is only used internally in the TTPM3.
Bit
Function
Sensor
Value ”1”
Value ”0”
0
Lower rear document entry
J6
Paper present
No paper
1
Upper rear document entry
J7
Paper present
No paper
2
Top-of-form
J8
Paper present
No paper
3
Cutter position
J9
Paper present
No paper
4
After cutter position
J10
Paper present
No paper
5
Cutter
J21
Cutter home
Cutter not home
1
6 Print
head
– OK
Error
7
Front Load Sensor
J11
Paper present
No paper
See also:
ENQ
1
On CD200 versions with “card level low” sensor, this bit indicates low card level. (printer version 02441-002, 5600-A0015)