C O N F I D E N T I A L
Paper roll
Print position commands ESC D
Ver. 4.0
p. 1154
ESC D
[Name]
Set horizontal tab positions
[Format]
ASCII
ESC
D
n1 ... nk NUL
Hex
1B
44
n1 ... nk 00
Decimal
27
68
n1 ... nk 0
[Range]
1
≤
n
≤
255
0
≤
k
≤
32
[Default]
n
= 8, 16, 24, 32, ... (Every eight characters for the default font set by
ESC !
or
ESC M)
[Printers not featuring this command]
None
[Description]
Sets a horizontal tab to
n
columns from the beginning of the line.
•
k
indicates the 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 selected with twice the width of normal characters.
■
A maximum of 32 horizontal tab positions can be set. Data exceeding 32 horizontal tab
positions are processed as normal data.
■
This command cancels any previous horizontal tab settings.
■
Transmit [
n
]
k
in ascending order and place a
NUL
code at the end.
ESC D
NUL
cancels all
horizontal tab positions.
■
When [
n
] is less than or equal to the preceding value [
n
]
k
-1, horizontal tab setting is
finished and the following data is processed as normal data.
■
k
is not transmission data to the printer.