Olivetti 900X Operating Instructions Manual page 63

Electronic typewriter
Table of Contents

Advertisement

3) Line feed setting by (n-1 )/4 8 inch (ESC RS n)
11.8.6 Miscellaneous Commands
1) Null ( N U L)
2) Bell ( B E L)
57
B e l l ( B EL )
1 0 0 REM
1 1 0 LPRINT CHR $ ( 2 7 ) ; CHR$ ( 2 6 ) ; " I " ; : REM RES ET
1 2 0 L PRINT CHR$ ( 7 ) ; " B e l l"
Sample Printing
-! dd:-!:
****
Format •
LPR I NT CHR$(27);CHR$(30) ; CHR$(n); or
LPR I NT CHR$(&H1 B) ;CHR$(&H 1 E);CH R$ (n) ;
n = 1 to 126
Function • This escape sequence selects (n-1 )/4 8 inch l ine spacing. The
minimum line spacing is 1/48 inch when n = 2 and no line feed is
performed when n = 1.
Example
To set the line feed to 1 /4 inch n = 1 3 which is calculated as
1 /4 = 1 2/48 and n-1 = 12 , so n = 13.
Sample Program
1 0 0 REM
L i n e F e e d S e t t i ng b y ( n - 1 ) / 4 8 i nch ( E S C RS n )
1 1 0 LPRINT CHR$ ( 2 7 ) ; CHR$ ( 2 6 ) ; " I " ; : REM RESET
1 2 0 FOR 1=7 TO 1 1 S TEP 2
1 3 0 FOR N=l TO 3
1 40 LPRINT CHR$ ( 2 7 ) ; CHR$ ( 3 0 ) ; CHR$ ( I ) ;
1 5 0 LPRINT " ( " I ; " - 1 ) / 4 8 inch- - - - - - - - - - "
1 6 0 NEXT N
1 7 0 NEXT I
Sample Printing
7 - l
7 - 1 / 4 8 inch - - - - - - - - - -
!
7 - 1 /48 inch- - - - - - - - - -
9 - 1 / 4 8 inch- - - - - - - - - -
( 9 - 1 ) / 4 8 inch- - - - - - - - - ­
( 9 - 1 ) / 4 8 inch - - - - - - - - - ­
( 1 1 - 1 ) /48 inch - - - - - - - - - -
( 1 1 - 1 ) /4 8 i nch - - - - - - - � - ­
( 1 1 - 1 ) /4 8 inch - - - - - - - - - -
Format •
LPR I NT C HR$(0) ; or LPR I NT CHR$(& H00) ;
Function
This code does not perform any function on the p r inter , b u t it can
be used to create a t i me delay if put into a " for next loop."
LPRINT CHR$(7); or LPR I NT CHR$(& H7);
Format •
Function • A 0.2 second beep is sounded when the typewriter rece ives the
B E L code.
Sample Program
T o p o f P a g e 1
-!ddd :
****
T o p o f Page 2
/48 inch- - - - - - - - - -
i

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents