VerticalTa b, Set/Clear
111
Vert ical Tab, S et/Clear
ASCII Code ESC B
n1 n2 n3...nk
NUL
Hex Code 1B 42
n1 n2 n3...nk
00
Dec Code 27 66
n1 n2 n3...nk
0
Purpose Sets vertical tab positions.
where:
n1
through
nk
specifythe line number for the vertical tab(s), for a
maximumof 16 tab positions. NUL must 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
changethe 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 on Serial Matrix vertical tab setting
is provided in Chapter 9, “Vertical Page Formatting.”
If the ESC B command is followed immediately by NUL, the
vertical tab positions are cleared.
Example The following sampleillustrates Vertical Tab Setting.