Repeating Graphics; Color Printing - Oki OKIMATE 10 Handbook

For commodore computers
Table of Contents

Advertisement

ID O P E N 3,4
2D L $ = C H R $ ( 6 ) + C H R $ (2 b ) + C H R $ ( 3 D ) + C H R $ ( 2 2 1 ) + C H R $ (15)
3D P R I N T # 3 , L $ ;" G R A P H I C S " ; L $
4 D C L O S E 3
Will give you this:
..... R R f l P H T n s = = i i

Repeating Graphics

If you're creating a decorative border, bar
chart or similar graphics, you'll find the re­
peat graphics command, CHR$(8);CHR$(26),
very useful. The repeat command repeats one
column of dots up to 255 times.
Just follow the CHR$(8);CHR$(26) command
with the number of repetitions in CHR$
form, then the graphic information. Putting
CHR$(0) after the repeat command will create
256 repetitions.
WORTH REPEATING
Co Cor Printing
The easiest way to get a color printout with
OKIMATE is to use the screen print program
on your Learn to Print disk. You can write
your own programs to print characters or
graphics in color, but it's a rather complicated
process. Here w e'll explain how the color
printing system works and how to use it in
BASIC programs.
The color ribbon consists of three color
strips—yellow, magenta, and cyan—plus a
black and clear marker strip. OKIMATE uses
the non-printing marker strip to align the rib­
bon. The color strips are for printing.
41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents