Epson TM-U210 Printer User Manual


 
CONFIDENTIAL
Paper roll Status commands GS a
Ver. 10.01 p. 322
If bits have a different value between (ASB-1) and (ASB-2), this means at least one change has occurred.
An example is shown below:
Bit 5 and 3 of the first byte are different from (ASB-1) and (ASB-2). From this information, you can see
that [The cover is shutting now and On line though Off line (Bit 3) by cover opening Bit5)].
Basic ASB status can be differentiated by other transmission data by Bit 0, 1, 4, and 7 of the first byte.
Process the transmitted data from the printer as ASB status which is consecutive 3 byte if it is "0xx1xx00"
[x = 0 or 1]. However, the processing shown in the following is necessary in the identifying processing of
ASB status.
When processing block data [Header ~ NUL], do not identify ASB status.
When the host communicates with the printer by XON/XOFF control, the host should process 4 bytes of
data, except for the XOFF code, as ASB status. ASB status configuration is different from that of the
XOFF code.
[Model-dependent variations] TM-J2000/J2100, TM-T90, TM-T88III, TM-L90, TM-L60II, TM-P60, TM-U230,
TM-U220, TM-U210
TM-J2000/J2100
The default value is set by Msw1-3.
Third byte (paper sensor information)
When the roll paper cover is open, paper detection (detected by the roll paper end sensor) may be
incorrect.
First byte Second byte Third byte Fourth byte
ASB-1 0011 1000 0000 0000 0110 0011 0000 1111
ASB-2 0001 0000 0000 0000 0110 0011 0000 1111
Program Example for all printers
PRINT #1, CHR$(&H1D);"a";CHR$(4); Enable "Error" status