Return Printer Status - Dymo LabelWriter SE300 User Manual

Dymo labelwriter se300: user guide
Table of Contents

Advertisement

GS S
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
PARAMETERS
None
R
ETURNS
Bit
Bit = 0
0 LSB
Printer Ready
1
Not Top of Form
2
RESERVED
3
RESERVED
4
RESERVED
5
Paper Loaded
6
RESERVED
7 MSB
RESERVED
EXAMPLE
For an example of this command's usage, see Appendix A,
page 90, Example 32.

Return Printer Status

GS
S
29
83
1D
53
Bit = 1
Printer Not Ready
Top of Form
RESERVED
RESERVED
RESERVED
Out of Paper
RESERVED
RESERVED
4-65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents