Table 9-L Horizontal Tab Commands - Star Micronics Radix User Manual

Table of Contents

Advertisement

Formatting
Your Output
91
umns 8,16, and 24. The CHR$(O) at the end ends the string of tabs.
In fact, any character that is not greater than the previous one will
stop setting tabs. This means that you must put all your tab values
in order, from least to greatest, or they won't all get set. (It also
means that a CHR$(l) is just as good as a CHR$(O) for ending a
group of tabs; some computers have trouble sending CHR!$(O).)
When you run the program now it produces this:
one
two
three
f: our
The words are now closer together, but still evenly spaced.
Turn your printer off and on again to reset the default tabs.
If you set tabs in one pitch, such as pica, and then change the
pitch, say to elite, the tab settings will also change. If, for example,
the tabs are set every eight spaces, when you change pitch they
will still be set every eight spaces, but the spaces will be a different
width.
A one-shot tab command
Suppose you need to move to a position across the page, but
you only need to do it once. It doesn't make much sense to set up a
tab to use only one time. There must be an easier way-and of
course there is.
The solution is called a one-time tab and is (ESC)
"b"
CHR!$(n). This command moves the print head n columns to the
right. It has the same effect as sending n spaces to the printer.
1 Function
Table 9-l
Horizontal tub commands
I Control code
,
Advance to next tab position
CHRW)
Set tabs at nl, n2, etc.
(ESC) "D" CHR$(nl) CHR$(n2)...CHR$(O)
One-time tab of n spaces
(ESC) "b" CHR$(n)
Note: If your computer does not support lowercase characters,
use CHR$(98)
for "b."
Setting Lefi and Right Margins
Radix's left and right margins work just like a typewriter-

Advertisement

Table of Contents
loading

Table of Contents