Star Micronics SB-15 user manual Lprint CHR$27 P CHR$l@ Lprint CHR$2@ CHR$4@ CHR$5Q CHR$@

Models: SB-15

1 128
Download 128 pages 39.39 Kb
Page 73
Image 73

Now, let’s set some vertical tabs of our own. Add these lines to the program:

12 LPRINT CHR$(27) "P" CHR$(l@) ;

14 LPRINT CHR$(2@) CHR$(4@) CHR$(5Q)) CHR$(@) ;

<ESC > “P” is the command to set vertical tabs for the STAR mode. Like the horizontal tab setting command, tab positions must be defined in ascending order. Our example sets vertical tabs at lines 10, 20, 40 and 50. Then the CHR$( 11) in each of the following lines advances the paper to the next vertical tab. The printout is shown below.

First tab.

Second tab.

Third tab.

Fourth tab.

Add one more line to the program to demonstrate one more feature of vertical tabs.

60 LPRINT CHR$(ll) "Fifth tab."

Now when you run the program before, but line 60 sends one more

the tirst page looks just like < VT > than there are tabs.

6.5

Page 73
Image 73
Star Micronics SB-15 user manual Lprint CHR$27 P CHR$l@ Lprint CHR$2@ CHR$4@ CHR$5Q CHR$@