User manual

APOS Premium Printer Series User Manual Page 88 /136 Reference: FDE 3107312 Issue A
T
RANSMIT STATUS
Transmits the status specified by n. This is a batch mode command which transmits the response after all
prior data in the receive buffer has been processed. There may be a time lag between the printer receiving
this command and transmitting the response, depending on the receive buffer status.
ASCII
GS r n
Hexadecimal 1D 72 n
Decimal
29 114 n
Value of n
1, 49 = printer status
2, 50 = Reserved
4, 52 = Flash memory User Sector status
The status bytes to be transmitted are described in the following two tables.
Printer Status (n = 1 or n = 49)
Bit Off/On Hex Decimal Status for Transmit Status
0
Off
On
00
01
0
1
Paper present.
Paper exhausted.
1
Off
On
00
02
0
2
Cover closed.
Cover open.
2
Off
On
00
04
0
4
Paper present.
Paper exhausted.
3 - - - Undefined
4 Off 00 0 Not used. Fixed to off.
5 - - - Undefined
6 - - - Undefined
7 Off 00 0 Not used. Fixed to off.
Flash memory User Sector Status (n = 4 or n = 52)
Bit Off/On Hex Decimal Status for Transmit Status
0 &
1
Off
On
00
03
0
3
CDKO Open.
CDKO Close.
2 Off 00 0 Not Used. Fixed to off
3
Off
On
00
08
0
8
Flash Logo area adequate, definition stored
Flash logo area not adequate
4 Off 00 0 Not used. Fixed to off.
5
Off
On
00
20
00
32
No user-defined characters written to Flash
User-defined characters written to Flash
6 Off 00 0 Not used. Fixed to off.
7 - - - Undefined.
Exceptions
When n is out of the specified range, the command is ignored.