7167 Owner’s Manual Chapter 6: CommandsNovember 2002190Execute MacroASCII: GS ^ r t mHexadecimal: 1D 5E r t mDecimal: 29 94 r t mValue of r: The number of times to execute the macro.Value of t: The waiting time for executing the macro.Value of m: Macro executing mode0 (Bit0): The Macro executes r times continuouslywith waiting time specified by t.1 (Bit0): The printer waits for feed button to bepressed after waiting for the periodspecified by t. If the button is pressed,the printer executes the macro once. Theprinter repeats the operation r times.Executes a macro. After waiting for a specified period the LED indicators blink and theprinter waits for the Paper Feed Button to be pressed. After the button is pressed, theprinter executes the macro once. The printer repeats this operation the number of specifiedtimes.When the macro is executed by pressing the Paper Feed Button (m = 1), paper cannot befed by using the Paper Feed Button.Formulas:The waiting time is t x 100 msec for every macro execution.m specifies macro executing mode when the LSB (Least significant bit) m = 0The macro executes r times continuously at the interval specified by t when the LSB (Leastsignificant bit) of m = 1.Example:MSComm1.Output = Chr$(&H1D) & Chr$(&H5E) & Chr$(r) & Chr$(t) & Chr$(m)Exceptions:If this command is received while a macro is being defined, the macro definition is abortedand the definition is cleared.If the macro is not defined or if r is 0, nothing is executed.This command is available in 7158 Native Mode and 7167 Native Mode only.