CONFIDENTIAL
Paper roll Macro function commands GS ^
Ver. 10.0 1 p. 363
GS ^ EXECUTING COMMAND
[Name] Execute macro
[Format] ASCII GS ^
r t m
Hex 1D 5E
r t m
Decimal 29 94
r t m
[Range] 1 ≤
r
≤ 255
0 ≤
t
≤ 255
m
= 0, 1
[Default] None
[Printers not featuring this command] TM-P60, TM-U220, TM-U210, TM-U300A/B, TM-U230
[Description] Executes a macro
r
times while waiting
t
× 100 msec for each macro execution, using the mode specified by
m
as follows:
• 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 LED, and then waits for the Paper
feed button to be pressed. After this button is pressed, the printer executes the macro once. The printer
repeats this operation
r
times.
[Notes] ■If a macro is not defined or if
r
is 0, this command is ignored.
■Even if the panel buttons are disabled by ESC C 5, paper feed button will be enabled temporarily while
printer is waiting for the buttons to be pressed when execution mode by button (
m
= 1) is specified.
However, paper can not be fed if the paper feed button is pressed.
■If this command is processed while a macro is being defined, the printer cancels macro definition and
clears the definition.
■This command can not be contained in the macro. Do not use this command when the macro is defined.
■The LED and the Paper feed button are different, depending on the printer model.
■The macro is defined by GS :.
Macro function commands