Epson Commands
PcOS Series 80PLUS
Programmer's Guide
Command Descriptions
Page 90
Rev B 4/13/99
Status Commands
Function
Enable/Disable Automatic Status Back (ASB)
[E]
ASCII
GS
a
n
Hexadecimal
1DH
61H
n
Decimal
<
29>
<97>
n
Range
0
≤
n
≤
255
Default
n
= 0
Description
This command enables or disables ASB. ASB is enabled if any item is
selected. The printer automatically generates a 4-byte status message
whenever the status changes. Multiple status items can be selected. When
n
= 0, ASB is disabled. If ASB is enabled when the printer is disabled by
the ESC
=
command, the printer transmits a 4-byte status message
whenever the status changes. The status items are selected using
n
as
follows.
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Drawer kick-out connector status disabled
On
01
1
Drawer kick-out connector status enabled
1
Off
00
0
On-line/off-line status disabled
On
02
2
On-line/off-line status enabled
2
Off
00
0
Error status disabled
On
04
4
Error status enabled
3
Off
00
0
Paper roll sensor status disabled
On
08
8
Paper roll sensor status enabled
4-7
-
-
-
Undefined
Bit
Off/On
Hex
Decimal
Status for ASB
0
Off
00
0
Not used; fixed to Off
1
Off
00
0
Not used; fixed to Off
2
Off
00
0
Drawer 1 or 2 kick-out connector status is low.
On
04
4
Drawer 1 or 2 kick-out connector status is high.
3
Off
00
0
On-line
On
08
8
Off-line
4
On
10
16
Not used; fixed to On
5
Off
00
0
Cover closed
On
20
32
Cover opened
6
Off
00
0
Paper is not being fed by the paper feed button.
On
40
64
Paper is being fed by the paper feed button.
7
Off
00
0
Not used; fixed to Off
First byte (Printer information)