
BT-T080 Programming Manual
- 43 -
• This command is valid only for printer with serial interface.
• This command is executed after the data in the receive buffer is processed.
Therefore, there may be a time lag between receiving this command and transmitting
the status.
• The corresponding relationship between different bits of status bytes are shown as
below:
Paper sensor status ( n = 1,49 ):
Bit
0/1
Hex
Decimal
Status
0
00
0
Paper near end sensor: paper adequate
0,1
1 03 3
Paper near end sensor: paper near end
0
00
0
Paper end sensor: paper adequate
2,3
1
0C
12
Paper end sensor: paper end
4
0
00
0
Not used, Fixed to 0
5,6
Undefined
7
0f
00
0
Not used, Fixed to 0
[Relative]
DLE EOT, GS a
GS a n Set Automatic Status Back (ASB)
[Function]
Set Automatic Status Back (ASB)
[Format]
ASCII GS
a
n
Hex
1D
61
n
Decimal
29
97
n
[Value range]
0
≤
n
≤
255
[Notes]
Decide the content of ASB. The meanings of parameter n are as follows:
Bit
Off/On
Hex
Decimal
Status for ASB
0
OFF
00
0
Undefined,Fixed to 0
OFF
00
0
On-line/Off-line status disabled
1
ON
02
2
On-line/Off-line status enabled
OFF
00
0
Error status disabled
2
ON
04
4
Error status enabled
OFF
00
0
Paper status disabled
3
ON
08
8
Paper status enabled
4-7
- - -
Undefined
• When any one of the above item is in enabled status, the printer automatically
transmits the status in 4 bytes whenever the enabled status item changes.
• When printer automatically transmits the status bytes, the host is not confirmed ready
or not to receive the data
• Since this command is executed with other commands in sequence, there may be a
time lag between data transmission and ASB setting.
• Even if the printer is disabled by
ESC =
, the printer still performs ASB according to