User`s manual

82
MP-4200 TH Programmer’s Manual - Revision 1.0
[Details] •Ifanystatusitemisenabled,theprintertransmitsthestatuswhenthiscommandisexecuted.
The printer automatically transmits the status whenever an enabled status item changes.
•Ifallstatusitemsaredisabled,theASBfunctionisalsodisabled.
•IfASBisenabledbydefault,assoonasprinteristurnedonandisabletotransmitandreceive
data transmits, the status is send.
•Thefourstatusbytesaretransmittedwithoutconfirmingwhetherthehostisreadytoreceive
dataornot.Thefourstatusbytesmustbeconsecutive,exceptfortheXOFFcode.
•Sincethiscommandisexecutedafterdataisprocessedinthereceivebuffer,theremaybea
time gap between command reception and status transmission.
• When printer is disabled by ESC = (Select peripheral device), the four status bytes are
transmitted whenever the status changes.
•Thestatustobetransmittedareasfollows:
Firs byte (Printer information)
Bit On/Off Hex Dec Function
0 Off 00 0 Not used. Fixed to off.
1 Off 00 0 Not used. Fixed to off.
2 Off 00 0 Drawerkick-outconnectorpinisLOW.
On 04 4 Drawerkick-outconnectorpinisHIGH.
3 Off 00 0 Printer online.
On 08 8 Printer offline.
4 On 10 16 Not used. Fixed to on.
5 On 00 0 Cover is closed.
Off 20 32 Cover is opened.
6 On 00 0 PaperisnotbeingfedbyFEEDbutton.
Off 40 64 PaperisbeingfedbyFEEDbutton.
7 Off 00 0 Not used. Fixed to off.
o Second byte (Printer information)
Bit Off/On Hex Dec Function
0 - - - Undefined.
1 - - - Undefined.
2 - - - Undefined.
3 Off 00 0 No auto-cutter error.
On 08 8 An auto-cutter error has occurred.
4 Off 00 0 Not used. Fixed to Off.
5 Off 00 0 No unrecoverable error.
On 20 32 An unrecoverable error has occurred.
6 Off 00 0 No automatically recoverable error.
On 40 64 An automatically recoverable error has occurred.
7 Off 00 0 Not used. Fixed to Off.
•Bit3:Iftheseerrorsoccurduetopaperjam,itispossibletorecoverbycorrectingthecause
oftheerrorandexecutingDLEENQn(1≤n≤2).Ifanerrorduetoacircuitfailure(e.g.wire
break) occurs, it is impossible to recover.
• Bit 6: When printing is stopped due to high print head temperature, the printer remains
stopped until the print head temperature drops sufficiently. This error can also occur when paper
roll cover is opened.