ESC u n [obsolete command]
GS r, which is the upward-compatible command replacing ESC u, is recommended to use, since ESC
u is an obsolete command in the ESC/POS command system.
[Name] Transmit peripheral device status
[Format] ASCII ESC u n
Hex 1B 75 n
Decimal 27 117 n
[Range] n = 0, 48
[Description] • Transmits the peripheral device status as 1 byte of data, as follows.
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 to 3 -- -- -- Reserved.
4 Off 00 0 Fixed.
5, 6 -- -- -- Reserved.
7 Off 00 0 Fixed.
[Note] • When this command is transmitted, do not transmit the subsequent data until the
status is received.
ESC v [obsolete command]
GS r, which is the upward-compatible command replacing ESC v, is recommended to use, since ESC
v is an obsolete command in the ESC/POS command system.
[Name] Transmit paper sensor status
[Format] ASCII ESC v
Hex 1B 76
Decimal 27 118
[Description] • Transmits the status of paper sensor(s) as 1 byte of data, as follows.
Bit Off/On Hex Decimal Status
0, 1 Off 00 0 Roll paper near-end sensor: paper adequate.
On 03 3 Roll paper near-end sensor: paper near end.
2, 3 Off 00 0 Roll paper end sensor (paper sensor): paper
present.
On 0C 12 Roll paper end sensor (paper sensor): paper not
present.
4 Off 00 0 Fixed.
5, 6 -- -- -- Reserved.
7 Off 00 0 Fixed.
Bits 0 and 1: If the printer is not equipped with the optional roll paper near-end sensor,
bits 0 and 1 are always “0” (paper adequate).
[Note] • After transmitting this command, do not transmit the subsequent data until the status
is received.
App.1