Gs S - Return Printer Status - Ithaca Epic 950 Integration Manual

Table of Contents

Advertisement

Command Reference
GS S – Return Printer Status
Description
Returns a single status byte, from which the printer status is determined by testing the
individual bits within this 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.
Expression
ASCII
[GS] S
Hexadecimal
1DH 53H
Decimal
<29> <83>
Parameters
None
Returned values from status byte
Bit
Bit = 0
0 LSB
Printer Not Ready
1
Not Top of Form
2
RESERVED
3
Head is Down
4
Chassis is Closed
5
Ticket Loaded
6
RESERVED
7 MSB
RESERVED
95-05245
Bit = 1
Printer Ready
Top of Form
RESERVED
Head is Up
Chassis is Open
Out of Ticket
RESERVED
RESERVED
Rev G
Epic 950 OEM Integration Manual
Page 125

Advertisement

Table of Contents
loading

Table of Contents