Download Print this page

OKIDATA Microline 93 User Manual page 103

Okidata microline personal printer user's manual

Advertisement

_ _ _ _ _ _ _ _ _ _ _ _ _
Bells and Whistles
If
you
try to
skip
to
a
tab stop
set
beyond the width of the
page
-
or
if
you try
to skip to
a
tab where none was set
-
the printer
will advance
the paper
one
line
and
begin printing
at
the
first column of
the next line.
To skip to the next tab stop, use this code in your program:
HT
CHR$(9)
09 (hex)
-
moves printhead to the next tab
stop
on
the line
Here's
an example:
10
LPRINT CHR$(27);CHR$(9);"010, 020, 030";
CHR$(13)
20
LPRINT
"1
";CHR$(9);"10";CHR$(9);"20";
CHR$(9); "30"
Line 10
sets
tab stops at
columns
10, 20, and 30.
Line 20 prints
"l"
in the
first column,
tabs to the first tab
stop at column
10 [CHR$(9)
I
and prints
"10"
there, tabs to
column
20
and
prints
"20",
then tabs to column 30 and
prints
"30".
Here's the result
:
1
10
30
Try adding
:
15 LPRINTCHR$(28);
to
change
to 12
cp
i,
and
RUN the program
.
Then modify
the line to:
15 LPRINTCHR$(29)
;
to
change
to 17.1
cpi, and
RUN the program.
Notice the difference
:
1
1
10
1 IZI
10
2ei
20
30
30
30
97

Advertisement

loading

This manual is also suitable for:

Microline 92