Star Micronics NB-15 User Manual page 72

Star micronics printer user's manual
Table of Contents

Advertisement

64
on, or you can set margin values equal to the default values.
This means that you should set a left margin of 0 and right
margin of 136 in pica pitch.
If you change the pitch of your printing
after you set your
margins, the margins will not change. They stay at the same
place on the page. So if you set the margins to give you 65 col-
umns of printing when you are using pica type, then you change
to elite type you will have room for more than 65 columns of
elite printing between the margins.
HORIZONTAL
AND VERTICAL TABS
Suppose you need to move across the page to a certain posi-
tion several times in a document.
It's not much fun to type in
space after space. And you don't have to - you can "tab" your
way across the page.
Your printer's tabs are like those on a typewriter,
but much
more powerful.
You have both horizontal
and vertical
tabs
which can be used for both text and graphics - and they're real-
ly handy for indenting
paragraphs
and making tables.
n Horizontal tabs
Horizontal tabs are set automatically
every eight positions. To
move the print head to the next tab position, send CHR$(S).
Try this program to see how the default tabs work.
10 ' Demo of horizontal
tabbing
20 LPRINT "ONE";CHR$ (9) ; "TWO";CHR$ (9) : "THREE";CHR$ (9) ;
"FOUR"
Here's what you should get-
I
ONE
TWO
THREE
FOUR
I
/
Even though the words are different length, they are spaced
out evenly by the horizontal tabs.
Now add the following line to your program
to set different
horizontal tabs:

Advertisement

Table of Contents
loading

Table of Contents