Commands 5-19
• The macro definition is not cleared.
ESC D [
n
]
k
NUL
[Name] Set horizontal tab positions
[Format] ASCII ESC D [
n
]
k
NUL
Hex 1B 44 [
n
]
k
00
Decimal2768[
n
]
k
0
[Range] 1
≤
n
≤
255
0
≤
k
≤
32
[Description] Sets horizontal tab positions.
•
n
specifies the column number for setting a horizontal tab position
from the beginning of the line.
•
k
indicates the total number of horizontal tab positions to be set.
[Notes] • The horizontal tab position is stored as a value of [character width
✕
n
] measured from the beginning of the line. The character width
includes the right-side character spacing, and double-width
characters are set with twice the width of normal characters.
• This command cancels the previous horizontal tab settings.
• When setting
n
= 8, the print position is moved to column 9 by
sending
HT
.
• Up to 32 tab positions (
k
= 32) can be set. Data exceeding 32 tab
positions is processed as normal data.
• Transmit [
n
]
k
in ascending order and place a NUL code 0 at the
end.
• When [
n
]
k
is less than or equal to the preceding value [
n
]
k
-1, tab
setting is finished and the following data is processed as normal
data.
•
ESC D NUL
cancels all horizontal tab positions.
• When [
n
]
k
exceeds the number of characters printable on one line,
the tab position set is equal to the maximum printable column
plus 1.
• The previously specified horizontal tab positions do not change,
even if the character width changes.
[Default] The default tab positions are at intervals of 8 characters (columns 9,
17, 25,...) for the font A (12
×
24).
[Reference]
HT
ESC E
n
[Name] Turn emphasized mode on/off
[Format] ASCII ESC E
n
Hex 1B 45
n
Decimal 27 69
n
[Range] 0
≤
n
≤
255
[Description] Turns emphasized mode on or off.