Color Printing - OKIDATA OKIMATE 20 Handbook

Hide thumbs Also See for OKIMATE 20:
Table of Contents

Advertisement

Start color
print
End of lm e,
advance to
next color
Color Printing
CHR$(27); CHR$(25)
CHR
$(13)
The
easiest
w
ay to get a color printout is with the
color
print program on the OKIMATE software
disk.
You can
also write your own programs to
print
characters or graphics in color, but it's
rather complicated.
We'll explain how color print-
ing
works, and how to use it in BASIC programs.
The
color
ri bbon contains three color strips (yel-
low,
magent
a, and cyan), plus a black and clear
marker
strip
.
OKIMATE aligns the ribbon with the
black
section
of the marker strip, and prints with
the
color
strips. Once the ribbon is aligned, the
printhead
passes over each line of print three
times, first with the yellow strip, next with the
magenta
strip,
and then with the cyan strip. After
the third pass over the line of print, OKIMATE ex-
pects the ali gnment command to reset the ribbon
to the alignment marker before the first color
66
strip, yellow. Like an artist mixing paints, the
printer creates a wide range of colors by mixing
the three primary colors on the paper.
When you write a color printing program, you
must include the alignment command at the be-
ginning of the first print statement for each line
of print. The alignment
command-
CHR$(27);CHR$(25)-tells OKIMATE to advance
the ribbon to the alignment marker at the start of
the first color (yellow). OKIMATE will print any
text in the first print statement in yellow. Entering
CHR$(13) at the end of this statement prints the
line, advances the ribbon to the next color (ma-
genta), and returns the printhead to the left. OKI-
MATE will print the second print statement in
magenta. The CHR$(13) at the end of the
second
statement prints the line, advances the ribbon to
the next color (cyan), and returns the printhead to
the left. All three colors can be overprinted.
After the third print statement for a print line
(one for yellow, second for magenta, and third
for cyan), you must send a line feed (LF) com-
mand-CHR$(1 0)-to feed the paper one line.
Align the ribbon for the next color print line with
the alignment command:

Advertisement

Table of Contents
loading

Table of Contents