![Olivetti 900X Operating Instructions Manual Download Page 62](http://html2.mh-extra.com/html/olivetti/900x/900x_operating-instructions-manual_3811344062.webp)
Sample Program
1 0 0
1 1 0
1 20
REM
LPRINT
REM
Nega tive 1 / 2 Line Feed (ESC D)
CHR$ ( 27) ; CHR$ ( 2 6 ) ; "I" ; : REM RESET
Negative 1 / 2 Line Feed
1 3 0
LPRINT
140
LPRINT
1 5 0
LPRINT
1 6 0
END
1 70 LPRINT
180 REM
1 9 0
LPRINT
2 0 0
RETURN
Sample Printing
11.8.5 Paper Feed Commands
1) Line feed (LF)
1 1
(X+Y) " ; : G0SUB 1 7 0
"=X" ; :
G0SUB 1 70
"+2XY+Y" ; : G0SUB 170
C HR$ ( 2 7) ; "D" ;
1 1
2" ;
1 / 2 L ine Feed
CHR$ ( 2 7) ; "U" ;
2 2
2
( X+Y ) =X +2XY+Y
Format • LPRlNT CH R$(1 O); or LPRlNT CH R$(&H A);
Function
•
The LF code prints
all
data in the printer buffer and advances the
paper one l ine. (The line-feed pitch is set with ESC RS n.)
Sample Program
1 0 0
REM
Line Feed
(LF)
110 LPRINT
CHR$ ( 2 7 ) ; CHR$ ( 2 6 ) ;
" I" ; : REM
1 20
LPRINT
I I
-----'' ·
130
REM
L ine Feed ( 5 - 1 ) /48 inch
1 40
LPRINT
CHR$ ( 2 7 ) ; CHR$ ( 3 0 ) ; CHR$ ( 5 ) ;
1 5 0
LPRINT CHR$ ( 1 0 ) ;
1 60
LPRINT
I I
- - - - -1 / 1 2 inch Line Feed"
1 7 0
END
Sample Printing
- - - - -1 / 1 2 inch Line Feed
2) Form feed (FF)
Format . LPRlNT CH R$(12); or LPRlNT CH R$(&HC);
RESET
Function • This FF code prints all data in the printer buffer and feeds the
paper to the top of the next page Th,e top of the current page is
automatically set when the typewriter is turned on or reset, or
when the page length is set with ESC FF n.
Sample Program
1 00
REM
Form
Feed
( F F )
1 1 0
LPRINT
CHR$ ( 27 ) ; CHR$ ( 2 6 ) ;
1
1
I
1 1
;
: REM
RESET
1 2 0
REM
S e t s
Page
Leng th
to
4
Lines
130
LPRINT
CHR$ ( 27 ) ; CHR$ ( 1 2 ) ; CHR$ ( 4 ) ;
140
LPRINT
''
..,,:..,':-k-;':
Top
of
Page
1
..,•:,'ck;':'
1
1 5 0
LPRINT
1 1
..,•:-;':...,•:..,•:..,•:...,':-1:-,':...,':··k··k;':-k;'o':-;':--;':...,•:-;':-;':...,•:;':...,•:
1 1
1 6 0
REM
Form
Feed
1 7 0
LPRINT
CHR$ ( 1 2 ) ;
1 8 0
LPRINT
I f
;'
,:
;':-;':-;':
Top
of
Page
2
;': ··k;':'i':
I t
56