Specifications
6-26
ESC 'D' {DATA} NUL Set Horizontal Tab Positions
Code 1BH 44H {p1 p2•••pk} 00H
1
p255
1
k32
Function Sets horizontal tab positions.
The tab position is the (current character with × p columns) position with respect to the left
margin.
The character width includes the character spacing. The character width is also doubled in
double-width mode. The character width is not calculated by double when Select expanded
character mode with automatic cancellation (SO) command is selecting.
The positions, p, are input in ascending order and the command ends with 00H (NUL). The
value of p is equal to, or less than the value of the preceding p, the horizontal tab position setting
ends. The following data is processed as normal data.
Tab positions exceeding the right margin are invalid. They become valid when the right margin
is changed so that they are included in the printable area.
Preset horizontal tabs are cleared.
Up to 32 tab positions k can be set. Data which exceeds 32 tab positions will be ignored until the
value becomes 00H or the preceding value.
ESC 'D' NULL clears all horizontal tab positions.
Default Every eight Katakana characters in 24-dot fonts.
When the horizontal tab is set at every seventh column, the horizontal tab execution (HT
command) and 'HTAB' are sent alternately, the printing operation is as follows.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
H T A B HT AB
Tab position
▼
Tab position
▼
Tab position
▼
HT command
HT command
HT command
Columns