- 105 -
2.2.7 Status Commands
DLE EOT n
CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 PMU series
Supportmodel
CT-S281
CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310II
[Function] Sendingstatus inreal-time
[Code] <10>H<04>H<n>
[Range] 1≤n≤4
[Outline] [The specification which is commontothemodel]
•Sends in real-time the status specifiedby“n”.
n Status
1
Printer status
2
Statuscaused byanoffline condition
3
Statuscaused byanerror
4
Continuous paper detector status
[Caution] • Each status represents thecurrent status.It is1 byte data.
•The statusistransferredwithout checking whetherthe host isreadyto receiveorbusy.
•Thiscommandis executed evenif theprinterisinoffline state, receive-bufferfullstate,orerror state.
•Thiscommandis dealtwith whenit isreceived.
• With serial interface specifications, this command is executed in offline state, receiving buffer full state, and
errorstate.
•With parallel interface specifications,thiscommandcannot beexecutedwhile the printer isin Busystate.
When memory SW1-3is ON,the printer does notenter Busystate intheofflinestate anderror state.
• IfASB (Automatic Status Back) is enabled by GS a, it is necessary to discriminate between the status due to
ASB andthe statusdue to this command
•Thiscommandcanbeexecuted evenifprinter settingbyESC= isinvalid.
•Ifanother data string of10H 04H n(1 n4) is received, the printer actsthe same way aswiththis command.
Therefore, theuser should be reminded of thisfact.
[Example 1]
Supposea command“ESC *mnL nH [d1 ...dk]”, where d1= 10H, d2= 04H,d3 =01H.
•The DLE EOTn commandcannot beinterleaved into the code string ofanother commandconsistingof2
bytesor more.
[Example 2]
Ifthe printer sendsDLE EOT3afterthehosthas sentup to ESC3initsattempttosend ESC3n, theprinter
handlesthe ESC 3as ESC3 10H.Thus,theuser should be cautious.
[See Also] Appendix5.3 “IdentificationofSendStatus”
DLE ENQ,ESC c4,GS a,GS r