beautypg.com

Epson A794-D100 User Manual

Page 127

background image

A794 Owner’s Guide

Chapter 6: Programming Information

March 1999

121

Execute Macro

Executes a macro. After waiting for a specified period the printer waits for the Paper
Feed Button to be pressed. After the button is pressed, the printer executes the macro
once. The printer repeats this operation the number of specified times.

When the macro is executed by pressing the Paper Feed Button (m = 1), paper cannot be
fed by using the Paper Feed Button.

ASCII

GS ^ r t m

Hexadecimal

1D 5E r t m

Decimal

29 94 r t m

Value of r

The number of times to execute the macro.

Value of t

The waiting time for executing the macro.

Formulas

The waiting time is t x 100 ms for every macro execution.

m specifies macro executing mode when the LSB (Least significant bit) m = 0

The macro executes r times continuously at the interval specified by t when the LSB
(Least significant bit) of m = 1.

Exceptions

If this command is received while a macro is being defined, the macro definition is
aborted and the definition is cleared.

If the macro is not defined or if r is 0, nothing is executed.