Star Micronics NB24-10/15 User Manual page 87

Signature series
Table of Contents

Advertisement

78
ONE
TWO
THREE
FOUR
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:
15 LPRINT CHR$(27);"D";CHR$(7);CHR$(l4);CHR$(21);
CHR$(O);
.-
(ESC) "D" is the command to begin setting horizontal tabs. It
must be followed
by characters
representing
the positions
where you want the tabs set. In our program we are setting tabs
in columns 7, 14, and 21. The final CHR$(O) ends the string of
tabs. In fact, any character that is not greater than the provious
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.
When you run the program now it produces this:
ONE
TWO
THREE
FOUR
The words are now closer together,
but still evenly spaced.
To reset the default tabs, use one of the following programs:
LPRINT CHR$(27);"eO";CHR$(8)
LPRINT CHR$(27);"R"
The (ESC) "e" 0 CHR$(n) command sets the horizontal tabs
to every n columns, and the (ESC) "R" command restores the
default tab positions.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nb24-10Nb24-15

Table of Contents