Specifications
[Default] If Font A : nL = 192 nH = 1
If Font B : nL = 164 nH = 1
[Reference] $1D $4C, $1D $50
[Example]
$1D $5E
Printers: KPM150
[Name] Execute macro
[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 specifi es the number of times to execute the macro.
• t specifi es the waiting time for executing the macro.
The waiting time is t × 100 msec. for each macro execution.
• m specifi es macro executing mode:
When the LSB of m = 0, the macro is executed r times continuously at the interval speci-
fi ed 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 FF FORM FEED button to be pressed. After the but-
ton 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 defi ned, the macro defi nition is
aborted and the defi nition is cleared.
• If the macro is not defi ned or if r is 0, nothing is executed.
• When the macro is executed by pressing the FF FORM FEED button (m=1), the paper
cannot be fed using the FF FORM FEED button.
[Default]
[Reference] $1D $3A
[Example]
$1D $63
Printers: KPM150
[Name] Print counter
[Format] ASCII GS c
Hex 1D 63
Decimal 29 99
[Range]
[Description] Sets the serial counter value in the print buffer and increments or decrements the counter
value.
[Notes] • After setting the current counter value in the print buffer as print data (a character string),
the printer counts up or down based on the count mode set. The counter value in the print
buffer is printed when the printer receives a print command or the buffer is full.
• The counter print mode is set using $1D $43 $30.
• The counter mode is set using $1D $43 $31 or $1D $43 $3B.
• In count-up mode, if the counter value set by this command goes out of the counter
operation range set by $1D $43 $31 or $1D $43 $3B; it is forced to revert to the minimum
value.
KPM54 Emulation
Command Reference 89