Olivetti 900X Operating Instructions Manual page 60

Electronic typewriter
Table of Contents

Advertisement

7) Bi-directional print O N ( E S C / )
Format ·
LPRI NT CHR$(27 ) : " / " , or L P R I NT CHR$( & H 1 B) : " / " ;
Function
This escape sequence causes the printer to start printing bi­
directionally at the next carriage return when the printer Is
printing uni-directionally as set by ESC \ . The pr inter is always
set to the bi-directional print m ode when it is turned on
In this mode, the carrier m oves to the next printing position in the
sho rtest distance possible ( l ogical seeking).
Sample Program and Sample Printing, Refer to Item 7) Bi-directional print
O FF.
8) Bi-directi onal print OFF ( E SC \ )
Form at :
LPRI NT CHR$(27) ; " \ " ; ar , L P R I NT CHR$(&H1 B) ; " \ " ,
Function • This escape seq uence cancels the bi-directional print m o d e and
switches to the uni-di rectional print mode. When the p rinte r is in
the uni-directi onal print mode, the ca rrier always returns to the
left margin when it receives a carriage return code ( CR) and
prints only from the left to right
This m ode is cleared by sending ESC / , ESC S U B I, o r turning
the power switch off.
Sample Program
B i - d i r e c t i ona l
1 0 0
REM
LPRINT
1 1 0
CHR $ ( 2 7 ) ; CHR $ ( 2 6 ) ; " I " ; : REM
B i - d i r e c t i ona l
REM
1 2 0
1 3 0
LPRINT
CHR$ ( 2 7 ) ; " /" ;
" B i - d i r e c t i ona l P r i n t O f f .
1 40
LPRINT
1 50 L PRINT
" P r in t in g
1 6 0
REM
B i - d i r e c t i ona l
CHR $ ( 2 7 ) ; " \ " ;
1 7 0 LPRINT
LPRINT
1 8 0
" B i - d i r e c t i ona l
1 9 0 LPR I NT " P r in t i n g B i - d i r e c t i ona l ly .
N ote
" \ " can be printed only when an ASCII printwheel is installed on the
typewriter . The character in the SC Hex position on the standard
cha racter table will be printed if another type of print wheel is installed.
Sample Printing
B i -d i r e c t i ona l P r i n t O f f .
P r in t in g Un i - d i re c t i ona l ly . - - - - - >
B i - d i r e c t i ona l P r in t On .
P r i n t i n g B i - d i r ec t i ona l ly . - - - - - >
9) Negative one-line feed (ESC LF)
Format •
L P R I NT CHR$(27);CH R$(10); or
LPRI NT CHR$( & H1 B) ;CHR$(&HA);
Function • This escape seq uence performs a one-line feed in the reverse
direction.
P r in t
On
( E S C
RESET
P r i n t
O f f
- - - - - > "
Uni - d i r e c t i ona l ly . - - - - - > "
P r i n t On
< - - - - -
P r i n t
On .
- - - - - > "
- - - - - >
\ )
and
O f f
( ES C / )
"
< - - - - ­
54

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents