User`s manual

91
MP-4200 TH Programmer’s Manual - Revision 1.0
GS F8h 1
[Function] Printer extended status enquiry.
[Format] ASCII  GSF8h1
Hexadecimal 1DF831
Decimal 2924849
[Description] Issuingthiscommandmakestheprintertoreturnfivestatusbytes.
The first byte is the printer status:
7 6–5 4 3 2 1 0
1 BufStat Wait Offline OVR 0 0
Bit2:OVR(OverrunError)
0–Printerisreadytoreceivedata.
1–Printerisinoverruncondition.Ifmoredatais
received, it will be lost.
Bit3:Offline.
0–Printerison-line.
1–Printerisoff-line.
Bit 4: Wait.
0–Printerisprinting(busycondition).
1–Printerbufferisempty,waitingformoredata
or commands.
Bit6&5:BufStat-Bufferstatus.
00–Printerbufferempty.
01–Printerbufferisunder1/3ofitscapacity.
10–Printerbufferisabove1/3ofitscapacity.
11–Printerbufferisbeyond¾ofitscapacity.
The second byte is the off-line status:
7 6 5 4 3 2 1 0
Cover Error NoPaper Drawer 0 PS PNES 1
Bit1:PNES–PaperNear-endSensor
0–Paperisnotneartheendofroll.
1–Paperisneartheendofroll.
Bit2:PS–Papersensor
0–Printerhaspaper.
1–Printerhasnopaperatall.
Bit4:Drawer
0–Drawersensorisinlowlevel(logical0).
1–Drawersensorisinhighlevel(logical1).
Bit 5: NoPaper
0–Printerhaspaper.
1–Printerhasnopaperatall.