REGO Thermal Printer Technical Manual
www.regotek.com
23
1
0
00
0
Paper roll near-end sensor disabled
1
02
2
Paper roll near-end sensor enabled
2
0
00
0
Paper roll end sensor disabled
1
04
4
Paper roll end sensor enabled
3
0
00
0
Paper roll end sensor disabled
1
08
8
Paper roll end sensor enabled
4~7 0
00
0
Undefined
[Notes]
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 any other interfaces.
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 for n is on, the paper near-end sensor is selected as the paper sensor
outputting paper-end signals
If either bit 2 or bit 3 for n is on, the paper 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 status.
[Default]
n = 3
ESC c 4 n Select paper sensor(s) to stop printing
[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]
Select the paper sensor(s) used to stop printing when a paper-end is detected,
using n as follows:
Bit
1/0
HEX
Decimal
Function
0
0
00
0
Paper roll near end sensor disabled.
1
01
1
Paper roll near end sensor enabled.
1
0
00
0
Paper roll near end sensor disabled.
1
02
2
Paper roll near end sensor enabled.
4~7 0
00
0
Undefined.
[Notes]
When a paper sensor is enabled with this command, printing only can be stopped by the selected
paper sensor.
When a paper-end is detected by the paper sensor, the printer goes off-line after printing stops.
When either bit 0 or 1 of n is on, the printer selects the paper near-end sensor to stop printing.
[Default]
n = 2
HT Horizontal tab
[Name]
Horizontal tab
[Format]
ASCII
HT