Color Shading - Oki OKIMATE 10 Handbook

For commodore computers
Table of Contents

Advertisement

At the end of the third print statement, add
CHR$(13) to return the printhead to the left
and to advance the paper one line. The next
print statement must again begin with the
alignment command, CHR$(27); CHR$(25).
Don't forget to insert the color ribbon before
trying this print sample!
Color Shading (For Experts Oniy)
The program you just did printed seven
colors, but OKIMATE isn't limited to that. By
combining dot graphics and color printing,
you can create a variety of resolutions and
hues. The secret to reproducing the colors in
our program on page 44 is a checkered graphic
pattern that combines color dots with white
spaces.
When you print this pattern in color, you get
a light shade of that particular color, since the
color you choose is mixed with white. For ex­
ample, a checkered red gives you a pink
shade. By combining light colors with other
light colors, you can create dozens of colors.
The program we've provided will give you a
printout of 26 colors. It uses three subroutines
to create solid blocks of color, checkered pat­
terns and white spaces. The data statements
in lines 4000, 4010 and 4020 list the possible
combinations of yellow, magenta and cyan us­
ing these subroutines:

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents