Star Micronics SG-10 User Manual page 73

Star micronics printer user's manual
Table of Contents

Advertisement

Now, let's set some vertical tabs of our own. Add these lines
to the program:
12 LPRINT CHR$(27) "P" CHR$(lfl) ;
14 LPRINT CHR$(2@) CHR$(4@) CHR$(@) CHR$('d) ;
< 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$(l 1) 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 the first page looks just like
before, but line 60 sends one more <VT > than there are tabs.
~___--
65

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sg-15

Table of Contents