IBM 4400 User Manual

Page of 316
Vertical Tab, Set/Clear
111
Vertical Tab, Set/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 specify the line number for the vertical tab(s), for a
maximum of 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
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 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 sample illustrates Vertical Tab Setting.