ESC/POS Command Manual
36
②
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 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 printing mode is turned off.
When the LSB of
n
is 1, white/black reverse printing mode is turned on.
[Details]
Only the LSB of
n
is effective.
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
GS H
n
[Name]
Select printing position of HRI characters
[Format]
ASCII
GS H
n
Hex 1D
48
n
Decimal
29 72
n
[Range]
0
≤
n
≤
3, 48
≤
n
≤
51
[Description]
Selects the printing position of HRI characters when printing a bar code.
n
selects the printing position as follows:
n
Printing position
0, 48
Not printed
1, 49
Above the bar code
2, 50
Below the bar code
3, 51
Both above and below the bar code