Commands
GS S Return Printer Status
Description
Returns a single status byte. The printer status is determined by testing the individual bits within the returned status byte. Only bits that have defined values should be tested. Do not test bits designated as reserved.
When polling for the status byte, your program must wait for the status byte to arrive. The printer will take several milliseconds to process the request and then transmit the status byte. If your program does not wait for a received character, you may receive erroneous results.
ESC A and GS S are functionally identical. ESC A is provided for compatibility with the LabelWriter raster bitmap label printer. If possible, you should use GS S in order to ensure future compatibility.
See Also
ESC A
Expression
ASCII | GS S |
Decimal | 29 83 |
Hex | 1D 53 |
Parameters
None
Returns
Bit | Bit =0 | Bit =1 | |
0 | LSB | Printer ready | Printer not ready |
1 |
| Not top of form | Top of form |
2 |
| RESERVED | RESERVED |
3 |
| RESERVED | RESERVED |
4 |
| RESERVED | RESERVED |
5 |
| Paper loaded | Out of paper |
6 |
| RESERVED | RESERVED |
7 | MSB | Printer has no error | Printer has error |
45