GS :
Set starting/ending, position of macro definition
< 1D >H< 3A >H
Specifies the starting or ending position of the macro definition.
- If this command is received while defining the macro, it
ends the definition.
- If the macro range exceeds 2048 bytes, the excess data
is not defined.
- Even if the ESC @ command (initialize the printer) is
performed, the macro definition is not cleared. Therefore,
it possible to include ESC @ in the macro definition.
- Normal printing operation is possible while defining the
macro.
Macro is not defined.
GS^
GS ^ n1 n2 n3Execute macro
< 1D >H< 5E >H< n1 >< n2 >< n3 >
Executes a macro.
n1: Specifies the number of times to execute the macro.
n2: Specifies the waiting time for executing the macro.
n2 X 100 msec waiting time is required for one execution.
n3: Specifies the macro executing mode.
• n3 =0
Continuous macro execution.
Executes n1 times continuosly at the
interval specified by n2.
• n3 = 1
Executes the macro with the paper feed
switch.
After waiting the period specified by n2,
the error LED blinks and the printer
-49-