Star Micronics ND-10/15 Printer User Manual


 
. .
73
When you run the program now it produces this:
The words are now closer together, but still evenly spaced.
To reset the default tabs, use the following program:
LPRIN'T CHR$(27);"eO";CHR$O
This command resets the horizontal tabs to every eight co-
lumns.
Table 5-7
I
Set tabs at nl, n2, etc.
Horizontal tab commands
Function
Control code
Advance to next tab position
CHR$(9)
K Ecp A “D” CHR$(n1)
-LOLA’
1 CHR$(n
2) . . . . . CHR$(O)
Set tabs every n columns
<ESC>
“e” 0 CHR$(n)
Set tabs every 8 columns
<ESC>
“R”
L
(IBM-P mode only)
n One-time horizontal tabs
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 is an easier way.
The solution is called a one-time tab. Table 5-8 shows the
three commands.
Table 5-8
One-time horizontal tabs
The first command in Table 5-8 moves the print head n
columns to the right. It has the same effect as sending n spaces
to the printer.