Star Micronics ND-10/15 user manual Vertical tab commands Function Control code

Models: ND-10/15

1 128
Download 128 pages 43.01 Kb
Page 83
Image 83

77

60 LPRINT ‘I* 5th Line, 7th Column”

70 LPRINT CHR$(27) ;“fl”;CHR$(3);

80 LPRINT CHR$(27);“fO”;CHR$(5);

90 LPRINT ‘I* 8th Line, 5th Column”

100 END

In this program, line 30 sends a one-time vertical tab with

<ESC > “f” 1 command. Line 50 sends a one-time horizontal tab with < ESC > “f’ 0 command. Finally, line 70 and line 80 send one-time vertical tab and one-time horizontal tab, so the line 90 prints text at the specified position.

Table 5-9

Vertical tab commands

Function

Control code

Advance paper to next tab position

Set vertical tabs at nl, n2, etc.

Set vetrical tabs every n lines One-time vertical tab

Cancel vertical tabs

CHR$(l 1)

<ESC > “B” CHR$(nl) CHR$(n2) ..... CHR$(O)

<ESC > “e” 1 CHR$(n)

<ESC > “f’ 1 CHR$(n)

<ESC > “R”

(IBM-P mode only)

nVertical tab channels

Vertical tab channels are especially helpful in two situations. The first occurs when you are writing a program to accompany a preprinted form that can accommodate various types of responses. The second occurs when you create a multipage form or report with different vertical tabs on each page.

Page 83
Image 83
Star Micronics ND-10/15 user manual Vertical tab commands Function Control code