Horizontal And Vertical Tabs - Star Micronics NX-10 User Manual

Star micronics printer user's manual
Table of Contents

Advertisement

53
When you want to reset the margins to the default values, you
have two choices. You can either turn the printer off and back
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 80 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.
,M 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 1 Demo of horizontal
tabbing
20 LPRINT
"ONE";CHR$(g);"TWO";CHR$(9);"THREE";
CHR$(g);"FOUR"
Here's what you should get-
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:

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents