Epson TM-U210 Printer User Manual


 
CONFIDENTIAL
Paper roll Print position commands ESC D
Ver. 10.01 p. 171
ESC D
SETTING COMMAND
[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 horizontal tab positions.
n
specifies the number of digits from the setting position to the left edge of the print area.
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.
The character width should be set before using this command. Settings of character fonts, space width,
and enlargement affect the setting of character width.
A maximum of 32 horizontal tab positions can be set. Data exceeding 32 horizontal tab positions is
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.
Even if the character width is changed after setting the horizontal tab positions, the setting of the
horizontal tab positions will not be changed.
Print position commands