Epson TM-T90 Printer User Manual


 
CONFIDENTIAL
Paper roll Customize commands GS ( E
Ver. 10.01 p. 572
With a parallel interface printer, data transmitted (excluding ASB status) with this command (“Header
to NUL”) is temporarily stored in the printer transmit buffer, as with other data. When the host goes
into reverse mode, the printer then transmits the data sequentially from the beginning of the transmit
buffer. Transmit buffer capacity is 99 bytes. Data exceeding this amount is lost. Therefore, when using
this command, promptly change into reverse mode to start the data receive process.
When communication with the printer uses XON/XOFF control with serial interface, the XOFF code may
interrupt the “Header to NUL” data string.
The transmission information for each function can be identified to other transmission data according
to specific data of the transmission data block. When the header transmitted by the printer is [hex =
37H/decimal =55], treat NUL [hex = 00H/decimal =0] as a data group and identify it according to the
combination of the header and the identifier.
[Model-dependent variations] TM-J2000/J2100, TM-T90, TM-P60, TM-U220
Program Example 1 (Set customized memory value)
PRINT #1, CHR$(&H1D);"(E";CHR$(3);CHR$(0);CHR$(1);CHR$(73);CHR$(78); <Function 1>
GOSUB *RECEIVE Check "mode change notice"
PRINT #1, CHR$(&H1D);"(E";CHR$(7);CHR$(0);CHR$(5);CHR$(1);CHR$(2);CHR$(0);CHR$(2);CHR$(5);CHR$(0); <Function 5>
PRINT #1, CHR$(&H1D);"(E";CHR$(4);CHR$(0);CHR$(2);CHR$(79);CHR$(85);CHR$(84); <Function 2>
Program Example 2 (Read back customized memory value)
PRINT #1, CHR$(&H1D);"(E";CHR$(2);CHR$(0);CHR$(6);CHR$(1); <Function 6>