http://www.woosim.com
48
[Reference]
ESC D
ESC D n1…nk NUL
[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
[Description]
Set horizontal tab position
[Notes]
1) n specifies the column number for setting a horizontal tab position from
the beginning of the line.
2) k indicates the total number of horizontal tab positions to be set.
3) The horizontal tab position is stored as a value of [character width x 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.
4) This command cancels the previous horizontal tab settings.
5) When setting n=8, the print position is moved to column 9 by sending
HT.
6) Up to 32 tab positions (k=32) can be set. Data exceeding 32 tab positions
is processed as normal data.
7) Transmit [n]k in ascending order and place a NUL code 0 at the end.
8) 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.
9) ESC D NUL cancels all horizontal tab positions.
10) The previously specified horizontal tab positions do not change, even if
the character width changes.
11) The character width is memorized for each standard and page mode.
[Default]
The default tab positions are at intervals of 0 characters.
[Reference]
HT