C O N F I D E N T I A L
Paper roll
Status commands
GS j
Ver. 10.01
p. 329
■
With a serial interface, the printer transmits a 4-byte ASB status message without confirming whether the
host can receive data. ASB status, except for the XOFF code, is always consecutive.
■
With a parallel interface, when ASB status is used, it is desirable for the host to be in a reverse idle state.
However, if the host computer cannot always be in the reverse idle state, it is necessary to enter Reverse
Mode regularly to watch for ASB status. If the host is not in the Reverse Mode for a long time, and the
printer has to store ASB status changes to be transmitted, the following 2 sets (8 bytes) of ASB status are
changed to special data and transmitted prior to other transmission data when the host enters Reverse
Mode:
•
ASB-1: Status information that shows whether status changes occurred
•
ASB-2: The latest ASB status information
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 of Status A for ASB-1 and ASB-2 is different. From this information, you can see that the printer
executed a cleaning but it has already finished.
■
Ink ASB status can be differentiated from other transmission data by the header. If the data transmitted
from the printer is [Hex = 35H/Decimal = 53], the host should process 4-byte data up to NUL [Hex = 00H/
Decimal = 0] as ASB status. When identifying an ASB status message, there are exceptions, as follows:
•
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 data
consisting of 4 bytes, 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
Header
Status A
Status B
NUL
ASB-1
0011 0101
0110 0000
0100 0000
0000 0000
ASB-2
0011 0101
0100 0000
0100 0000
0000 0000
Program Example
PRINT #1, CHR$(&H1D);"j";CHR&(2);
←
Only sensor status can be selected.
Содержание TM-L90 series
Страница 658: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 658 Page 1 Katakana ...
Страница 659: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 659 Page 2 PC850 Multilingual ...
Страница 660: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 660 Page 3 PC860 Portuguese ...
Страница 661: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 661 Page 4 PC863 Canadian French ...
Страница 662: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 662 Page 5 PC865 Nordic ...
Страница 663: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 663 Page 6 Hiragana ...
Страница 664: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 664 Page 7 One pass printing Kanji characters ...
Страница 665: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 665 Page 8 One pass printing Kanji characters ...
Страница 666: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 666 Page 16 WPC1252 ...
Страница 667: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 667 Page 17 PC866 Cyrillic 2 ...
Страница 668: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 668 Page 18 PC852 Latin2 ...
Страница 669: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 669 Page 19 PC858 Euro ...
Страница 670: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 670 Page 20 Thai character code 42 ...
Страница 671: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 671 Page 21 Thai character code 11 ...
Страница 672: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 672 Page 22 Thai character code 13 ...
Страница 673: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 673 Page 23 Thai character code 14 ...
Страница 674: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 674 Page 24 Thai character code 16 ...
Страница 675: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 675 Page 25 Thai character code 17 ...
Страница 676: ...C O N F I D E N T I A L Paper roll Character code tables Ver 10 01 p 676 Page 26 Thai character code 18 ...