Olivetti 900X Operating Instructions Manual page 61

Electronic typewriter
Table of Contents

Advertisement

1 0) 1 /2 line feed (subscri pt) (ESC U )
11) N egative 1 /2 line f eed (supersc ript) (ESC D )
55
Sam p l e Program
1 0 0
REM
1 1 0
LPRINT
REM
1 2 0
1 30
LPRlNT
1 4 0
REM
1 5 0
LPRINT
1 6 0
END
1 7 0
FOR 1=1 TO 4
1 8 0
REM
1 9 0
LPRINT
2 0 0
LPRINT
2 1 0
NEXT l
2 20
LPRINT
RETURN
2 30
Sam ple Printing
L i ne 1 - - - - >
L i ne 1 - - - - > ine
Format ·
LP R I N T CH R$(2 7 ) " U · • or LPRINT CH R$(& H 1 Bi. ' ' U " •
Function This escape sequence performs a half-line f e ed in the forward
di rection. The amount of line feed perfor m ed by this code is one ­
half the l i n e f e ed t hat has been s e t w i th E S C RS n o r the Space
Selector on the keyboard.
Sam p l e Program
1 0 0
REM
1 1 0
LPR INT
CHR$ ( 2 7 ) ; CHR$ ( 2 6 ) ; " l " ; : REM
REM
1 2 0
1 3 0
FOR 1 = 1 TO 4
1 4 0
LPRINT CHR$ ( 2 7 ) ; " U " ;
1 5 0
LPRINT
" L i n e "
NEXT
l
1 6 0
Sam ple Printing
L i ne 1
- - - - >
L i n e 2
LP RI NT CH R$(27) " o · · • or LP R I NT CHR$(& H 1B J . ·' D " :
Format •
Function • Thi s escape sequence performs a ha l f- l i n e feed i n the reverse
direction The amount of line feed performed by this code is one
half the line feed that has been set with ESC RS n or the Space
Selec tor on the keyboard.
Nega t iv e one Line F eed
CHR $ ( 2 7 ) ; CHR$ ( 2 6 ) ; " l " ; : REM RESET
L i ne F e ed S e t t ing 4 / 4 8
CHR$ ( 2 7 ) ; CHR$ ( 3 0 ) ; CHR$ ( 5 ) ;
L ine F e ed S e t t ing 1 0 / 4 8
CHR$ ( 2 7 ) ; CHR$ ( 3 0 ) ; CHR$ ( 1 1 ) ; : GO S UB
S e t Nega t i v e L ine F eed
CHR$ ( 2 7 ) ; CHR $ ( 1 0 ) ;
l " - - - - > " ;
"L ine"
L i ne 3 - - - - >
L i ne 2 - - - - >
L .
2
- - - - > ine
3
L .
1 / 2 L i n e F e e d
( E S C U )
1 / 2 L i n e F e e d
l
" - - - - > " ;
- - - - >
L i ne 3
- - - - >
( ES C LF )
inch
: GO S UB
1 7 0
inch
1 7 0
L i ne 4 - - - - >
L i ne 4 - - - - >
- - - - >
R E S E T
L i n e 4
- - - - >

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents