Execute Macro - NCR 7197 Owner's Manual

Thermal receipt printer release 1.0
Hide thumbs Also See for 7197:
Table of Contents

Advertisement

7197 Owner's Guide

Execute Macro

ASCII:
Hexadecimal:
Decimal:
Value of r:
Value of t:
Value of m:
Executes a macro. After waiting for a specified period the LED indicators blink and 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.
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 = 0
The macro executes r times continuously at the interval specified by t when the LSB (Least
significant bit) of m = 1.
Example:
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.
This command is available in 7194 Native Mode only.
GS ^ r t m
1D 5E r t m
29 94 r t m
The number of times to execute the macro.
The waiting time for executing the macro.
Macro executing mode
0 (Bit0):
1 (Bit0):
MSComm1.Output = Chr$(&H1D) & Chr$(&H5E) & Chr$(r) & Chr$(t) & Chr$(m)
The Macro executes r times continuously
with waiting time specified by t.
The printer waits for feed button to be
pressed after waiting for the period
specified by t. If the button is pressed,
the printer executes the macro once. The
printer repeats the operation r times.
November 2002
Chapter 6: Commands
161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents