Printronix P9000 Series Printer User Manual


 
Programming6-72
Vertical Tab Set/Clear (Serial Matrix)
ASCII Hex Decimal
P-Series N/A N/A N/A
Serial ESC
B n
1B 42 n
27 66 n
Purpose
Sets vertical tab positions.
Expression CHR$(27);B;CHR$(n);...CHR$(nk);CHR$(0);
where n1 through nk specify the line number for the vertical tab(s), for a maxiĆ
mum
of 16 tab positions. Either CHR$(0) or CHR$(128) can be used as the
sequence
terminator.
Comment The physical position on the paper is the product of n" and the current line
spacing. Subsequent line spacing changes do not change the tab position. If
the
value of n" defines a tab stop that exceeds the forms length, that tab posi
Ć
tion
is ignored.
In
Serial Matrix printer protocol, vertical tab positions are set by control code
ESC B and executed
by control code VT
. The tab positions must be in ascend
Ć
ing order or the sequence will terminate. More information regarding Serial
Matrix
vertical tab setting is provided in the V
ertical F
ormat Units chapter.
If
the ESC B command is followed immediately by a sequence terminator, the
vertical
tab positions are cleared.
Example
The following sample program illustrates V
ertical T
ab Setting.