0x1D 0x5E
<GS ^>
Execute macro
Valid for
TG02H
[Format]
ASCII
GS ^ r t m
Hex
1D 5E r t m
Decimal
29 94 r t m
[Range]
0 ≤ r, t ≤ 255
0 ≤ m ≤ 1
[Description]
Executes a macro.
• r specifies the number of times to execute the macro.
• t specifies the waiting time for executing the macro.
The waiting time is t × 100 msec. for each macro execution.
• m specifies macro executing mode:
When the LSB of m = 0, the macro is executed r times continuously at the interval specified by t.
When the LSB of m = 1, after waiting for the period specifi ed by t, the LED indicator blinks 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 r times.
[Notes]
• This command has an interval of (t × 100 msec.) after a macro is executed by t.
• 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 by pressing the FEED button (m=1), the paper cannot be fed using
the FEED button.
[Default]
[Reference]
0x1D 0x3A
[Example]
86 │
ESC/POS™ emulation
Содержание TG02H
Страница 1: ...COMMANDS MANUAL TG02H ...
Страница 3: ...ESC POS EMULATION INTRODUCTION ...
Страница 4: ......
Страница 7: ...ESC POS emulation ...
Страница 27: ... Default n 0 Reference 0x1B 0x2D 0x1B 0x45 0x1D 0x21 Example ESC POS emulation 27 ...
Страница 30: ... Example 18 dots 11 cpi 14 dots 15 cpi p1 MSB LSB p2 30 ESC POS emulation ...
Страница 98: ...98 ESC POS emulation ...
Страница 99: ......