Star Micronics NP-IO Printer User Manual


 
55
Table 4-9
Vertical tab commands
Function
Control code
Advance paper to next tab position CHR$(ll)
Set vertical tabs at nl, n2, etc.
(ESC) “B” CHR$(nl) CHR@zZ) . . . . .
CHR$,O1
Set vertical tabs every n lines
(ESC) “e” 1 CHR$(n)
One-time vertical tab
(ESC) “f” 1 CHR$(n)
n Vertical tab channels
Vertical tab channels are especially hefpful in two situations.
The first occurs when you are writing a program to accompany
a preprinted form that can accommodate verious types of
responses. The second occurs when you create a multipage
form or report with different vertical tabs on each page.
Table 4-10
Vertical tab channel commands
Function
Control code
Set vertical tabs at n.2, n.2, etc. as (ESC) “b” CHR$(nO) CHR$(nl)
channel nO
CHR$(nZ) . . . . . CHR$(O)
_
Select vertical channel nO
(ESC) “/” CHR$(nO)
You can store up to eight channels of tab stops. They are
numbered from 0 to 7. If you have already stored a set using
(ESC) “B” command, your printer has labelled it as channel 0.
Try this program how to see the vertical tab channels work.
10 Demo of vertical tab channels