Download LabelWriter SE300 User Manual

Transcript
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 EL bitmap label printer. If
possible, you should use GS S in order to ensure future
compatibility.
EXPRESSION
ASCII
Decimal
Hex
GS
29
1D
S
83
53
PARAMETERS
None
RETURNS
Bit
Bit = 0
Bit = 1
0 LSB
1
2
3
4
5
6
7 MSB
Printer Ready
Not Top of Form
RESERVED
RESERVED
RESERVED
Paper Loaded
RESERVED
RESERVED
Printer Not Ready
Top of Form
RESERVED
RESERVED
RESERVED
Out of Paper
RESERVED
RESERVED
EXAMPLE
For an example of this command’s usage, see Appendix A,
page 90, Example 32.
4-65