1-32 Command Descriptions Rev. A
Status Commands
The TM-T88/T88P (TM-T85/T85P) supports the following status transmission commands. These
commands can be used to determine the status of the printer, paper sensors, and peripheral devices
connected to the printer. ESC u and ESC v are supported only by TM-T85/T85P.
Command Name
GS a Enable/disable Automatic Status Back (ASB)
GS r Transmit status
DLE EOT Real-time status transmission
ESC u Transmit peripheral device status
ESC v Transmit paper sensor status
GS a n
[Name] Enable/disable Automatic Status Back (ASB)
[Format] ASCII GS a n
Hex 1D 61 n
Decimal 29 97 n
[Range] 0 ≤ n ≤ 255
GS a n selects a status for ASB transmission. ASB is enabled if any status item is selected. The printer
automatically transmits a 4-byte status message whenever the status changes. Multiple status items
can be selected. When n=0, ASB is disabled. The default (n=0 or 2) depends on DIP switch 2-1
settings. If ASB is enabled when the printer is disabled by ESC = , the printer transmits a 4-byte
status message whenever the status changes. The status items are selected using n as follows:
Bit Off/On Hex Decimal Function
0
Off 00 0
Drawer kick-out connector pin 3 status
disabled.
On 01 1
Drawer kick-out connector pin 3 status
enabled.
1
Off 00 0 On-line/off-line status disabled.
On 02 2 On-line/off-line status enabled.
2
Off 00 0 Error status disabled.
On 04 4 Error status enabled.
3
Off 00 0 Paper roll sensor status disabled.
On 08 8 Paper roll sensor status enabled.
4-7 — — — Undefined.
Program Example
PRINT #1, CHR$(&H1D);"a";CHR$(4);
←
Enable "Error" status