
THERMAL RECEIPT PRINTER
27
Each bit of
n
is used as follows:
Bit Off/On Hex Decimal Function
0
Off
00
0
Paper roll near-end sensor disabled
On
01
1
Paper roll near-end sensor enabled
1
Off
00
0
Paper roll end sensor disabled
On
02
2
Paper roll near-end sensor enabled
2
Off
00
0
Paper roll end sensor disabled
On
04
4
Paper roll near-end sensor enabled
3
Off
00
0
Paper roll end sensor disabled
On
08
8
Paper roll near-end sensor enabled
4-7 -
-
-
Undefined
[Details]
It is possible to select multiple sensors to output signals. Then, if any of the sensors detects a paper
end, the paper end signal is output.
The command is available only with a parallel interface and is ignored with a serial interface.
Sensor is switched when executing this command. The paper end signal switching be delayed
depending on the receive buffer state.
If either bit 0 or bit 1 is on, the paper roll near-end sensor is selected as the paper sensor
outputting paper-end signals
If either bit 2 or bit 3 is on, the paper roll end sensor is selected as the paper sensor outputting
paper-end signals.
When all the sensors are disabled, the paper end signal always outputs a paper present status.
ESC c 4 n
[Name] Select paper sensor(s) to stop printing
[Format] ASCII ESC c 4
n
Hex 1B 63 34
n
Decimal 27 99 52
n
[Range] 0 <=
n
<=255
[Description] Selects the paper sensor(s) used to stop printing when a paper-end is detected, using
n
as follows:
Bit Off/On Hex Decimal Function
0
Off
00
0
Paper roll near-end sensor disabled
On
01
1
Paper roll near-end sensor enabled
1
Off
00
0
Paper roll end sensor disabled
On
02
2
Paper roll near-end sensor enabled
2-7 -
-
-
Undefined
[Details]
When a paper sensor is enabled with this command, printing is stopped only when the corresponding
paper is selected for printing.
When a paper-end is detected by the paper roll sensor, the printer goes offline after printing stops.
When either bit 0 or 1 is on, the printer selects the paper roll near-end sensor for the paper sensor to
stop printing.
[Default]
n
= 0