
7
Chapter 7 Print Control Codes
(53)Specifying/Clearing Black/White reverse printing (GS B n)
Code: [1D] h + [42] h + n
*(0 ≤ n ≤ FF) Data are expressed in Hex code.
This command specifies or clears printing of black/white reversed characters.
•In n, the least significant bit (n0) becomes enabled. The least significant bit (n0) is as follows.
n0 = 0: Clears printing of black/white reversed characters.
n0 = 1: Specifies printing of black/white reversed characters.
•Internal characters and downloaded characters can be printed as black/white re- versed characters.
•The space to the right of characters, set by ESC SP, is also the object of black/ white reversed printing.
•Bit images, downloaded bit images, bar codes, HRI characters and portions skipped due to HT, ESC $, ESC ( are not influenced.
•Spaces between lines are not influenced.
•Specification of black/white reversed printing has priority over underline specifi- cations. Therefore, underlines are not added to black/white reversed characters, even when underline is specified. However, the underline setting state does not change.
•The initial value is “n0 = 0”.
(54)Selecting the HRI character print position (GS H n)
Code: [1D] h + [48] h + n
* (0 ≤ n ≤ 3, 30 ≤ n ≤ 33) Data are expressed in Hex code.
This command selects the HRI character print position when a bar code is printed.
•n has the meanings in the following table.
n (Hex) | Print Position |
|
|
0,30 | No printing |
|
|
1,31 | Above the bar code |
|
|
2,32 | Below the bar code |
|
|
3,33 | Both above and below the bar code |
|
|
•HRI characters are printed in the font selected by GS f.
•The initial value is “n = 0”.
88