Executing Vertical Tabs
279
Executing Vertical Tabs
The vertical tab execute code is VT. When sent, it prints the contents of the
print buffer (if data is in the buffer) and causes paper position movement to
the next predefined vertical tab position. If a tab position is not defined , the
paper position is moved to the next line at the current line spacin g. If a tab
position is at the current line, the paper position is moved to the nex t tab
position. If no tab positions are defined between the current line and the en d
of the form, the paper position moves to the next TOF.
Vertical TabPositions
Vertical tab positions are set by line number. A maximum of 16 vertical tab
positions can be set per channel of the form. If the single channel format is
used, a maximum of 16 vertical tabs can be set for the form. A sample sin gle
channel format is shown in Figure 37. The first vertical tab is set at line 6 for
part number data, a second tab is set at line 8 for part name data, and a third
tab is set at line 14 for quantity data. Since this is a single channel format (or
channel 0), the ESC B code can be used to assign the vertical ta bs to the
lines of the form. Once the tab positions are set, sending the vertical tab
execute code (VT) causes the paper position (currently at the top-of-form
position) to advance to the first tab position for PART NUMBER data. Sending
another VT moves the paper position to the second tab position for the PART
NAME, followed by a third VT to access the third tab position for the
QUANTITY data.
Figure 37. Sample Serial Matrix Vertical Tab Positions
Part Number
Part Name
Quantity
VerticalTabs
Tab1
Form Data
Tab2
Form Line
Tab3
Number
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Topof Form