Forms Control; Carriage Return; Line Spacing - OKIDATA 120 Handbook

For commodore computers
Table of Contents

Advertisement

CHR$(18) command starts reverse printing and the
CHR$(146) returns the printer to normal black on white
printing.
Reverse printing is automatically canceled at the end of
each line. If you want more than one line, add CHR$(18)
at the beginning of each new line.
,
Heavy lise of reverse printing can damage the OKIDATA 120'5 printhead.
Don't r;rint more than five consecutive lines in reverse printing
.
_
Forms control
____________________ __
30
These features let you control the length, width and format
of your printed page.
Function:
CR
with LF
CR
without LF
Carriage Return
Code:
CHR$(13)
CHR$(141 )
A Carriage Return (CR) with Line Feed (LF)
command-
CHR$(13)-causes the printer to print a line of data and
then advance the paper one line. A CR without a
LF-
CHR$(141)-
prints a line of data but does not cause the
paper to advance.
NOTE:
The CR with LF command wo rks only if funct ion switch
5
is ON. See
Appendix A for detai ls .
. - - - - - - - -
line Spacing
--------~
Function:
Line feed
6 LPI
8 LPI
Multiples of
n1144"
Code:
CHR$(lO)
CHR$(27);16"
CHR$(27);18"
CH R$(2 7) ;CH R$(l 0) ;CH R$( n)
NOTE:
n
=
a number between 0 and
255.
Sending a Line Feed (LF) command makes the printer ad-
vance the paper one line. The standard line spacing is 6
Lines Per Inch (LPI). You can reset the line spacing to 8
Lines Per Inch by sending a CHR$(27);"8" command. To
return to 6 LPI, use the CHR$(27);"6" command.

Advertisement

Table of Contents
loading

Table of Contents