CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP
Series
8-23
8.10.11 UNDERLINING SET COMMAND
[ESC] -
Function
Sets or cancels underlining.
Format [ESC]
-n
Term
ASCII: ESC -
Hex: 1Bh 2Dh
[Parameter]
n:
Setting
underlining
0
≤
n
≤
2 (00h
≤
n
≤
02h)
or
48
≤
n
≤
50 (30h
≤
n
≤
32h)
0: Canceling underlining
1: Setting underlining (1-dot wide)
2: Setting underlining (2-dot wide)
Default value
n : 0
Explanation
(1) The character including the space on its right is underlined. However, a portion
skipped by the Horizontal Tab Command ([HT]) is not underlined.
(2) A character rotated 90 degrees clockwise or a character in reverse is not
underlined.
(3) If underlining is canceled with n = 0 or n = 48, subsequent data will not be
underlined. However, the width of the underline specified most recently is
maintained. Also, a 1-dot wide underline is selected by default.
(4) The width of the underline is consistent regardless of a character size.
(5) Underlining can also be set or canceled by the Print Mode All Set Command
([ESC] !), but the most recently processed command is applied.
(6) There is no impact upon Chinese Characters.
Reference
Print Mode All Set Command ([ESC] !)