Vertical tab set/clear (serial matrix) – Printronix P9000 Series User Manual
Page 170
Programming
6-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 Vertical Format 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 Vertical Tab Setting.