
REGO Thermal Printer Technical Manual
www.regotek.com
37
2
-
-
-
Undefined.
3
0
00
0
No auto-cutter error.
1
08
8
Auto-cutter error occurs.
4
1
10
16
Fixed value is 1
5
0
00
0
No unrecoverable error.
1
20
32
Unrecoverable error occurs.
6
0
00
0
No auto-recoverable error.
1
40
64
Auto recoverable error occurs.
7
0
00
0
Fixed value is 0
n = 4: paper sensor status
Bit
1/0
HEX
Decimal
Function
0
0
00
0
Fixed value is 0
1
1
02
2
Fixed value is 1
2,3
0
00
0
Paper roll near-end sensor: paper adequate.
1
0C
12
Paper roll near-end sensor: paper is near out
4
1
10
16
Fixed value is 1
5,6
0
00
0
Paper roll end sensor: paper present.
1
60
96
Paper roll end sensor: paper not present.
7
0
00
0
Fixed value is 0
[Reference]
DLE ENQ, GS a, GS r
GS a n Enable/Disable Automatic Status Back (ASB)
[Name]
Enable/Disable Automatic Status Back (ASB)
[Format]
ASCII
GS
a
n
Hex
1D
61
n
Decimal
29
97
n
[Range]
0 ≤ n ≤ 255
[Description]
Enable or disable ASB and specifies the status items to include, using n as follows:
Bit
1/0
Hex
Decimal
Status for ASB
0
0
00
0
Drawer kick-out connector pin 3 status
disabled.
1
01
1
Drawer kick-out connector pin 3 status
enabled.
1
0
00
0
On-line/off-line status disabled.
1
02
2
On-line/off-line status enabled.
2
0
00
0
Error status disabled.
1
04
4
Error status enabled.
3
0
00
0
Paper roll sensor status disabled.
1
08
8
Paper roll sensor status enabled.
4~7 -
-
-
Undefined.
[Notes]
If any of the status items in the table above are enabled, the printer transmits the status when
this command is executed. The printer automatically transmits the status whenever the enabled
status item changes. The disabled status items may change, in this case, because each status
transmission represents the current status.
If all status items are disabled, the ASB function is also disabled.
If the ASB is enabled as a default, the printer transmits the status when the printer data reception