User's Manual
Control Code Definitions
Chapter
—
5
78
6820 Series 80-Column Printer User’s Manual
Tabs and Tab Setting Functions
Horizontal T abs
This set of functions deals with horizontal tabs: set tabs, tab to next tab
stop,cleartabs,andsettabincrements.
S Tab settings are not affected by subsequent changes in pitch.
S Tabs may range up to maximum width for character and printer size.
S All previous tab stops are cleared when new tab stops are set. Also, if the
left margin is changed after the horizontal tabs are set, then all tab stops
are c leared.
S Tabs become absolute positions and are not affected by any s ubsequent
change in character size.
S All tabs set outside of the printable area are ignored.
Perform Horizontal Tab
The print position is moved to the next horizontal tab stop. The tab posi-
tions, set by ESC “D”, the Set Horizontal Tabs function, are not affected
by any changes in character pitch.
The factory default tab settings are at intervals of eight characters, in the
currently selected pitch. For the default tabs, the actual distance to each
tab position is affected by changes in character pitch.
Format
Decimal Hex ASCII
9 09 HT
Set Horizontal Tabs
The c urrent horizontal tabs are reset, and new horizontal tabs are set up,
based on the current character width (pitch).
Format
Decimal Hex ASCII
27 68 n1 n2 ... nk 0 1B 44 n1 n2 ... nk 00 ESC “D” n1 n2 ... nk NUL
where, n1 is the first tab (range of values for tab stops: 1–255), n2 is the
second tab (all tabs must be in ascending order), ... are subsequent tabs
(maximum number of tabs: 32), nk is the last tab to set (any value less
than the previous tab value acts as a terminating character), NUL is the
terminating character.
Clear Horizontal Tabs
All horizontal tab stops are cleared. It is merely a variant behavior of the
Set Horizontal T abs function, where the NUL acts as an early terminating
character, since the function normally clears the existing tabs before setting
any new tabs.
Format
Decimal Hex ASCII
27 68 0 1B 44 00 ESC “D” NUL