5525B/31/32 Line Matrix Printer LinePrinter Plus Programmer's Reference

Horizontal Tab Execute
121
Horizontal Tab Execute
ASCII Code HT
Hex Code 09
Dec Code 09
Purpose Moves the logical print head to the next horizontal tab stop.
Discussion Power-on default horizontal tabs are set at every eighth
character at the current character spacing. Tab positions are not
affected by a change of font or character width. Blank spaces
between HT stops are underlined in underline mode.
Horizontal Tab Set/Release
ASCII Code ESC D
n1 ... nk
NUL
Hex Code 1B 44
n1 ... nk
00
Dec Code 27 68
n1 ... nk
0
Purpose Sets up to 32 horizontal tab positions.
where
n1
through
n32
specify the character column of the tab positions.
CHR$(0) is the sequence terminator. ESC D NUL clears all tabs.
Discussion The values of
n
must be listed in ascending order or they are
ignored. Tabs greater than 32 or those positioned beyond the
right margin are ignored. The physical tab position is the product
of
n
and the current cell width (1/pitch), excluding double wide.
After the tabs are set, HT moves the logical print head to the
next tab stop. Sending ESC @ initializes the printer and resets
the tabs to every eighth character column (which is the default).
In proportional mode, the size of 10 CPI characters determines
tab positions.
Example The following example illustrates how to set horizontal tabs.