Download Print this page

OKIDATA Microline 93 User Manual page 79

Okidata microline personal printer user's manual

Advertisement

- - - - - - - - - - - - -
Bells and Whistles
Lines 20 and 40 both make the printer skip three more lines.
Don 't
fo
rget t he sem icolons at the end of these lines:
other-
wise the printer will ski
p
an extra line
.
Here 's the result
:
FIRST LINE
SKIP THREE LINES
S
KIP THREE MORE LINES
A few ESCape sequences use a different method
.
For
example,
ESC
%
9
lets you specify line spacing in multiples
of 1
/
144" up to a maximum of 127
/ 144".
In this case, after
CHR$(27};CHR$(37};CHR$(57};
-
or
CHR$(27};"%9";
-
you have to put the desired multiple in CHR$ in its normal
form
,
not as an ASCII code.
Here 's a sample to try
:
10 LPRI NT CH R$(27} ;"%9" ;CHR $(72)
20 FOR I
=
1 TO 3
30 LPRINT
"
HELLO"
40 NEXT I
50 LPRINT CHR $(24}
60 FOR J
=
1 TO 3
70 LPRINT "HELLO"
80 NEXT
J
Line 10 sets the line spacing for 72/144"
=
1/2".
Lines 20-40 are a simple FOR
-
NEXT loop to print HELLO
three times.
Line 50
-
the
"
CANcel" code
-
cancels line 10 to return to
normal line spacing (1 /6"}
,
but after an automatic 1/2" line
feed at the end of the loop.
Lines 60-80 print HELLO three times at the normal spacing.
Before you use a feature requiring numerical input, check the
73

Advertisement

loading

This manual is also suitable for:

Microline 92