C O N F I D E N T I A L
Paper roll
Status commands
GS r
Ver. 10.01
p. 333
•
After the host PC transmits the function data, the printer will send response data or status data back to
the PC. Do not transmit more data from the PC until the response data or status data are received from
the printer.
•
When operating with a serial interface, be sure to configure operation so that the host computer uses
the printer only when it is READY.
•
With a parallel interface, a real-time status is stored in the transmission buffer of the printer
temporarily the same as the other transmission data (except for ASB status), and when the host enters
reverse mode, data is transmitted in order from the beginning of the transmission buffer. The
transmission buffer is 99 bytes; therefore, data that exceeds 99 bytes is ignored. When using this
command, the host should be changed to the reverse mode immediately and execute a receive
processing of status.
■
After the print changing line operation ends, paper sensor status (
n
= 1, 49) is transmitted. Therefore if use
GS r 1
according to the printing instruction, host recognizes the print completion by receiving paper
sensor status.
■
Normal status can be differentiated by the information of bits 4, and 7 from other transmission data. If the
data transmitted from the printer after outputting
GS r
to the printer is “0xx1xx10”(x = 0 or 1), process
the data as a normal status.
[Model-dependent variations]
TM-J2000/J2100
,
TM-T90
,
TM-T88III
,
TM-L90
,
TM-L60II
,
TM-P60
,
TM-U230
,
TM-U220
,
TM-U210
Program Example for all printers
PRINT #1, CHR$(&H1D);"r";CHR$(1);
←
Transmits paper sensor status
Summary of Contents for TM-L90 series
Page 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 ...
Page 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 ...
Page 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 ...
Page 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 ...
Page 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 ...
Page 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 ...