1-38 Command Descriptions Rev. A
ESC u n
[Name] Transmit peripheral device status
[Format] ASCII ESC u n
Hex 1B 75 n
Decimal 27 117 n
[Range] n = 0, 48
ESC u n transmits the status of drawer kick-out connector pin 3 as 1 byte of data when n=0 or 48. This
command allows the host to determine the status of a peripheral device. GS r is preferred for
checking the status because ESC u is not a recommended command. This command is supported
only by TM-T85/T85P.
Peripheral device status
ESC v
[Name] Transmit paper sensor status
[Format] ASCII ESC v
Hex 1B 76
Decimal 27 118
ESC v transmits the status of a paper sensor as 1 byte of data. GS r is preferred for checking the
status because ESC v is not a recommended command. When the paper roll end sensor detects a
paper-end, the printer goes off-line and does not execute this command. Therefore, bits 2 and 3 do
not transmit paper-end status. The status to be transmitted is shown in the table below. This
command is supported only by TM-T85/T85P.
Program Example
PRINT #1, CHR$(&H1B);"p";CHR$(0);CHR$(25);CHR$(250);
←
Generates a pulse
PRINT #1, CHR$(&H1B);"u";CHR$(0);
Bit Off/On Hex Decimal Status
0
Off 00 0 Drawer kick-out connector pin 3 is LOW.
On 01 1 Drawer kick-out connector pin 3 is HIGH.
1-3 — — — Undefined.
4 Off 00 0 Not used. Fixed to Off.
5, 6 — — — Undefined.
7 Off 00 0 Not used. Fixed to Off.