User`s manual
30
MP-4200 TH Programmer’s Manual - Revision 1.0
7 6 5 4 3 2 1 0
MSB LSB
(X
L
+X
H
x256)x8 dots = 640 dots
d
1
d
2
d
3
... d
78
d
79
d
80
d
81
d
82
d
83
... d
158
d
159
d
160
...
d
K-79
d
K-78
d
K-77
... d
K-2
d
K-1
d
K
.
.
.
(Y
L
+Y
H
x256) dots
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
ENQ
[Function] Printer status enquiry.
[Format] ASCII ENQ
Hexadecimal 05
Decimal 05
[Description] Issuingthiscommand,theprintershouldreturnastatusbyte,asdefinedbelow:
Status bit number Logic “0” Logic “1”
0 PrinterOffLine PrinterOnLine
1 Paper Present Paper Out
2* Drawerpinlow Drawerpinhigh
2** Paper Present Paper Out
3 Print head raised Print head down
4 Paper Full PaperNearEnd
5 Command not executed Command executed
6–7 Unused(alwaysreturn“0”)
*Refertodraweruser’smanualtoknowwhatthisvaluemean.
**Drawerstatusorpaperstatusonbitnumber2dependsonESCb.
GS F8h 1
[Function] Printer extended status enquiry.
[Format] ASCII GSF8h1
Hexadecimal 1DF831
Decimal 2924849
[Description] Issuingthiscommandmakestheprintertoreturnfivestatusbytes.
The first byte is the printer status:
7 6–5 4 3 2 1 0
1 BufStat Wait Offline OVR 0 0
Bit2:OVR(OverrunError)
0–Printerisreadytoreceivedata.