Programming Features; Printing Style; Character Size; Double-Width Characters - OKIDATA 120 Handbook

For commodore computers
Table of Contents

Advertisement

PROGRAMMING FEATURES
-
Printing Style
------------------Fi
q
The following features let you change the printing style of
26
your OKIDATA 120. It includes such features as print size
and underlining.
- - - - - - -
Character Size
- - - - - - -
Function:
Pica (10 CPI)
Elite (12 CPI)
Fire (17.1 CPI)
Code:
CHR$(15)
CHR$(28)
CHR$(29)
Your printer normally prints 10 Characters Per Inch (CPI)
,
like a pica typewriter. With control codes, you can change
the character size to elite-12 CPI, or fine
print-
17 .1 CPI.
Use the CHR$(28) command for elite printing and
CHR$(29) for fine print. To return to pica, use the
CHR$(15) command.
Double-Width Characters
Function:
5 CPI
6
CPI
8.5 CFI
Stop double-width
Code:
CHR$(15);CHR$(14)
CHR$(28);CHR$(14)
CHR$(29);CHR$(14)
CHR$(129)
For a "headline" effect, you can double the width of your
printing. This turns 10 CPI pica print into 5 CPI, 12 CPI
el ite print into 6 CPI, and 17.1 CPI fine print into 8.5 CPI.
Double width prints for one line only.
The CHR$(14) code doub les the width of the print size
you're currently using. To print 6 CPI, for example, com-
bine the elite code, CHR$(28), with the double-width code
to get the CHR$(28);CHR$(14) code.
NOTE:
Thi
s featu re doub les the
width
of pica, el ite and fine printing only. It
won't double the w idth
of
superscript and subscript characters
or custom-de-
signed
graphics.

Advertisement

Table of Contents
loading

Table of Contents