5525B/31/32 Line Matrix Printer LinePrinter Plus Programmer's Reference
Tab, Horizontal
93
Tab, Horizontal
ASCII Code HT
Hex Code 09
Dec Code 09
Purpose Moves the logical printhead right to the next horizontal tab stop.
Discussion Power-on default horizontal tabs are set at every eighth
character starting at position 9 (9, 17, 25). If there are no
horizontal tabs set or the logical printhead is located at the last
character column, the code is ignored and no movement occurs.
If double-wide, double-high attributes are enabled, single-wide
character spacing is used. Horizontal tabs are stored as a
relative position; therefore, character pitch changes will change
horizontal tab positions. Refer to the ESC D control code
description to set new tab positions.
Tab Set/Clear, Horizontal
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.
Discussion
n1, n2,
up to
nk
denote character column positions for tab stops
(at the current character pitch), where
n1
and
n2
represent the
first two tab stops and
nk
is the final tab stop. You may specify
from 1 up to 28 tab stops (all parameters after 28 are ignored).
The leftmost character column position is 1. The value for each
tab stop can range from 1 through 255 (hex 01 through hex FF),
inclusive, and all tabs must be specified in ascending order. Any
out-of-order symbols are ignored, though the remainder of the
sequence is processed.
If you are defining a sequence of tabs, terminate the string with a
00H (
not
an ESC D 00H). If you want every column to be set with
a horizontal tab, use ESC D 00H. If only one tab position is set
and it is beyond the right margin, then every column is also set
as a horizontal tab. Any change in character pitch within a line
changes the tab positions for the entire line. All control codes
that define horizontal distance expressed in units of characters
are stored internally in character columns.
Example The following example illustrates horizontal tab setting and
accessing.