Specifications
[Reference] $1B $21
[Example]
$1D $3A
Printers: KPM150
[Name] Set start/end of macro defi nition
[Format] ASCII GS :
Hex 1D 3A
Decimal 29 58
[Range]
[Description] Starts or ends macro defi nition.
[Notes] • Macro defi nition starts when this command is received during normal operation.
• When $1D $5E is received during macro defi nition, the printer ends macro defi nition
and clears all defi nitions.
• Macros are not defi ned when power is turned on to the machine.
• Macro content is not cancelled by the $1B $40 command. Therefore, $1B $40 may be
included in the content of macro defi nitions.
• If the printer receives $1D $3A a second time after previously receiving $1D $3A, the
printer remains in macro undefi ned status.
• The contents of the macro can be defi ned up to 1024 bytes. If the macro defi nition
exceeds 1024 bytes, excess data is not stored.
[Default]
[Reference] $1B $40, $1D $5E
[Example]
$1D $42
Printers: KPM150
[Name] Turn white/black reverse printing mode on/off
[Format] ASCII GS B n
Hex 1D 42 n
Decimal 29 66 n
[Range] 0 ≤ n ≤ 255
[Description] Turns white/black reverse printing mode on or off.
• When the LSB of n is 0, white/black reverse printing is turned off.
• When the LSB of n is 1, white/black reverse printing is turned on.
[Notes] • Only the LSB di n is effective.
• This command is available for both built-in and user-defi ned characters.
• This command does not affect bit image, downloaded bit image, bar code, HRI characters
and spacing skipped by $09, $1B $24 and $1B $5C.
• This command does not affect white space between lines.
• White/black reverse mode has a higher priority than underline mode. Even if underline
mode is on, it will be disabled (but not cancelled) when white/black reverse mode is se-
lected.
[Default] n = 0
[Reference]
[Example]
KPM54 Emulation
Command Reference 83