CONFIDENTIAL
Paper roll Customize commands GS ( C
Ver. 10.0 1 p. 558
(*3) Processing according to response (no unsent data, identified by send data set “Identification status”)
[Model-dependent variations] TM-J2000/J2100, TM-T90, TM-L90, TM-P60, TM-U220
TM-J2000/J2100
Definition area of record data shares the same definition area with NV graphics memory (GS ( L).
Total record data is 384 KB.
TM-T90, TM-L90
Record data definition area capacity is selectable GS ( E <Function 5> as follows.
Response code Process
ACK, CAN End processing for this command.
NAK Resend previously sent data.
Program Example 1 (Write data for record $1)
PRINT #1, CHR$(&H1D);"(C";CHR$(18);CHR$(0);CHR$(0);CHR$(1);CHR$(0);"$1";"EPSON ESC/POS"; ¨ ← <Function 1>
Program Example 2 (Read data for record %5)
PRINT #1, CHR$(&H1D);"(C";CHR$(5);CHR$(0);CHR$(0);CHR$(2);CHR$(0);"%5"; ¨ ← <Function 2>
*LOOP:
GOSUB *RECEIVE ← "Header to NUL" is received and stored under ST$ (details omitted)
PRINT #1,CHR$(6); ← Response code is sent
PRINT MID$(ST$,4) ← Record (%5) data is displayed on CRT
IF MID$(ST$,3,1)=CHR$(65) THEN *LOOP ← Check for any subsequent data
Program Example 3 (Read available memory capacity)
PRINT #1, CHR$(&H1D);"(C";CHR$(3);CHR$(0);CHR$(0);CHR$(4);CHR$(0); ← <Function 4>
GOSUB *RECEIVE ← "Header to NUL" is received and stored under ST$ (details omitted)
PRINT MID$(ST$,4) ← Available capacity is displayed on CRT
Selectable capacity Default
1K, 64K, 128K, 192K 1K [units: byte]