Olivetti 900X Operating Instructions Manual page 55

Electronic typewriter
Table of Contents

Advertisement

1 0 0 REM
1 1 0 LPR INT CHR$ ( 2 7 ) ; CHR$ ( 2 6 ) ; " I " ; : REM RESET
1 2 0 LPRINT ' ' 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 ' '
1 3 0 REM
1 4 0 LPRINT
1 5 0 LPRINT
1 6 0 LPRINT
1 7 0 REM
1 8 0 LPR INT
1 9 0 REM
2 0 0 LPRINT
2 1 0 LPRINT
2 2 0 REM
2 3 0 LPRINT
2 4 0 LPR INT
2 5 0 LPRINT "A l l T a b s C l e a r e d . "
9)
11.8.3 Print Commands
1) Full underline ON ( E S C E)
49
Sample P rogram
C l e a r Tab ( E S C 8 ) , C l e a r A l l Tab ( E S C 2 )
Move C a r r i e r and S e t T a b
S PC ( 5 ) CHR$ ( 2 7 ) ; " 1 " ;
SP C ( 1 0 ) C HR $ ( 2 7 ) ; " 1 " ;
S PC ( 1 0 ) CHR$ ( 2 7 ) ; " 1 "
H o r i z o n ta l Tab
CHR$ ( 9 ) ; " T ab" ; CHR$ ( 9 ) ; " Tab" ; CHR $ ( 9 ) ; " T a b"
C l e a r T a b
SP C ( 5 ) ; CH R$ ( 2 7 ) ;
CHR$ ( 9 ) ; " Tab" ; CHR$ ( 9 ) ; " Tab" ;
C l e a r A l l T a b s
CHR$ ( 2 7 ) ; " 2 "
CHR $ ( 9 )
Sample Printing
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
T a b
T a b
T a b
A l l T a b s C l e a r e d .
Return HMI control to sl ide switch (ESC S)
Format
LPRINT CHR$(2 7); " S " ; or
LPRINT CHR$(&H1B) ; " S " ;
Function This escape sequence enables you to change impression, typing
pitch and line spacing with the typewriter slide switches after the
typewriter is on-line with your computer. First change the desired
slide switch, then send this escape sequence from your computer
The typewriter checks the current settings for impression, typing
pitch and line spacing, and changes printing accordingly.
Format .
LPR I NT CHR$(27): " E " ; or LPR I NT CHR$(&H1 B)
Function : When the p r inter receives this escape sequence, it underlines all
characters and spaces.
Sample Program and Sample Printing Refer to Item 4) Full underline OF F.
8
1 1
1 1
T a b
T ab
;
" E
" ;

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents