6–69Programming
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 maximum of 16
tab
positions. Either CHR$(0) or CHR$(128) can be used as the sequence termi
-
nator.
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 position 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 ascending order or
the sequence terminates. More information regarding Serial Matrix vertical tab set
-
ting is provided in the Vertical Format Units chapter.
If
the ESC B command is followed immediately by a sequence
terminator
, the verti
-
cal
tab positions are cleared.