Horizontal Tab Set/Reset
133
Horizontal Tab Set/Reset
ASCII Code ESC D
n1 n2.
..
nk
NUL
Hex Code 1B 44
n1 n2
...
nk
00
Dec Code 27 68
n1 n2
...
nk
0
Purpose Sets up to 28 horizontal tab positions.
where:
n1
through
n28
specify the character column of the tab positions.
NUL is the sequence terminator.
Comment Up to 28 different tab positions may be set. The values must be
listed in ascending order or they are ignored. The physical tab
position is the product of
n
and thecurrent cell width (1/pitch),
excluding double wide. Tabs in excess of 28 or those positioned
beyond the paper's right margin are also ignored.
Tab positions may be cleared by sending the ESC D NUL
sequence. Powering the printer on/off initializes the tabs to every
eighth character column. Horizontal tabs are accessed by
control code HT.
Example The following example illustrates horizontal tab setting and
accessing.
Horizontal/Verti cal Tabs Clea r
ASCII Code ESC R
Hex Code 1B 52
Dec Code 27 82
Purpose Clears all horizontaland vertical tab stops.
Comment Horizontal tab stops are reinitialized to every 8 columns, starting
at column 1 (i.e., 1, 9, 17 ...).