
THERMAL RECEIPT PRINTER
37
②
If the printing area width cannot be extended by one line in vertical, the left
margin is reduced to accommodate one line in vertical.
[Reference]
GS *
GS :
[Name] Start/end macro definition
[Format] ASCII GS :
Hex 1D 3A
Decimal 29 58
[Description] Starts or ends macro definition.
[Details]
Macro definition starts when this command is received during normal operation.
Macro definition ends when this command is received during macro definition.
When
GS ^
is received during macro definition, the printer ends macro
definition and clears the definition.
Macro is not defined when the power is turned on.
The defined contents of the macro are not cleared by
ESC @
. Therefore,
ESC @
can be included in the contents of the macro definition.
If the printer receives
GS :
again immediately after previously receiving
GS :
the printer remains in the macro undefined state.
The contents of the macro can be defined up to 2048 bytes. If the macro
definition exceed 2048 bytes, excess data is not stored.
[Reference]
GS ^
GS B n
[Name] Turn white/black reverse printing mode
[Format] ASCII GS B n
Hex 1D 42 n
Decimal 29 66 n
[Range] 0 <=
n <=
255
[Description] Turns on or off white/black reverse printing mode.
When the LSB of n is 0, white/black reverse mode is turned off.
When the LSB of n is 1, white/black reverse mode is turned on.
[Details]
Only the lowest bit of n is valid.
This command is available for built-in characters and user-defined characters.
When white/black reverse printing mode is on, it also applied to character
spacing set by
ESC SP
.
This command does not affect bit image, user-defined bit image, bar code, HRI
characters, and spacing skipped by
HT
,
ESC $
, and
ESC \
.
This command does not affect the space between lines.
White/black reverse mode has a higher priority than underline mode. Even if
underline mode is on, it is disabled (but not canceled) when white/black reverse
mode is selected.
[Default] n = 0