• The GS P command can change the horizontal (and vertical) motion unit. However, the
value cannot be less than the minimum horizontal movement amount, and it must be in
even units of the minimum horizontal movement amount.
[Reference] ESC $, ESC T, ESC W, ESC \, GS $, GS P
56. GS ^ r t m
[Name] Execute macro
[Format] ASCII GS ^ r t m
Hex 1D 5E r t m
Decimal 29 94 r t m
[Range] 0
r
255
0
t
255
m
0, 1
[Description] Executes a macro.
r specifies the number of times to execute the macro.
t specifies the waiting time for executing the macro.
m specifies macro executing mode.
When the LSB of m = 0:
t × 100 ms as the waiting time,
macro executes r times.
When the LSB of m = 1:
After waiting for the period specified by
t × 100 ms
, the PAPER OUT LED indicators
blink and the printer waits for the FEED button to be pressed. After the
button is pressed, the printer executes the macro once. The printer
repeats the operation for r times.
[Details]
The waiting time is t
100 ms for every macro execution.
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.
When the macro is executed (m = 1), paper always cannot be fed by using the
FEED button.
[Reference] GS :
57. GS a n
[Name] Enable/Disable Automatic Status Back (ASB)
[Format] ASCII GS a n
Hex 1D 61 n
Decimal 29 97 n
[Range] 0
n
255
[Description] Enables or disables ASB and specifies the status items to include, using n as follows:
Bit Off/On Hex Decimal Status for ASB