Epson TM-T88 Information Manual page 54

Hide thumbs Also See for TM-T88:
Table of Contents

Advertisement

GS : starts or ends macro definition. Macro definition starts when this command is received during
normal operation and ends when it is received during macro definition. If the printer receives this
command again immediately after previously receiving it, the printer remains in the macro
undefined state.
The macro definition can contain up to 2048 bytes. If the macro definition exceeds this value, the
excess data is not stored.
GS ^ r t m executes a macro r times while waiting t × 100 msec for each macro execution. When m=0,
the macro executes r times continuously at the interval specified by t. When m=1, the printer waits
for the period specified by t, blinks the PAPER OUT LED indicator, and then waits for the FEED button
to be pressed. After this button is pressed, the printer executes the macro once. The printer repeats
this operation r times.
If this command is received while a macro is being defined, the printer ends macro definition mode
and clears the definition. If a macro is not defined or if r is 0, nothing is executed. When the macro is
executed by pressing the FEED button (m=1), paper cannot be fed with this button.
Program Example
PRINT #1, CHR$(&H1D);":";
PRINT #1, CHR$(&H1B);"a";CHR$(1);
PRINT #1, "*** Hello";
PRINT #1, CHR$(&H1D);"!";CHR$(17);
PRINT #1, "EPSON";
PRINT #1, CHR$(&H1D);"!";CHR$(0);
PRINT #1, "World! ***";
PRINT #1, CHR$(&HA); CHR$(&HA);
PRINT #1, CHR$(&H1B);"a";CHR$(0);
PRINT #1, CHR$(&H1B);"-";CHR$(1);
PRINT #1, "No.
PRINT #1, "Name
PRINT #1, "Address
PRINT #1, CHR$(&H1D);"V";CHR$(66);CHR$(60)
PRINT #1, CHR$(&H1B);"-";CHR$(0);
PRINT #1, CHR$(&H1D);":";
PRINT #1, CHR$(&H1D);"^";CHR$(2);CHR$(0);CHR$(0);
Rev. A
TM-T88/T88P (TM-T85/T85P) Information Manual
Defines a
macro
"; CHR$(&HA);
"; CHR$(&HA);
";
Print Sample
EPSON
Hello
World!
***
No.
Name
Address
EPSON
Hello
World!
***
No.
Name
Address
*Cutting is different, depnding
on the printer model
Command Descriptions 1-45
***
***

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tm-t88pTm-t85Tm-t85p

Table of Contents