7-Dot Graphics - OKIDATA OKIMATE 20 Handbook

Hide thumbs Also See for OKIMATE 20:
Table of Contents

Advertisement

In graphics mode, ASCII codes no longer stand
for characters
.
Instead each code now represents
a pattern
of
dots in a single column, seven dots
high
.
For example, the CHR$(65) code prints this
dot pattern
:
Combinati ons of these dot patterns form graphic
1mages.
OKIMATE offers two kinds of graphics, 7-dot and
24-dot. In 7-dot graphics, which is
compat
ible
with Commodore printers, OKIMATE uses only a
portion of its printing elements to create graphic
patterns
.
In 24-dot graphics, however, OKIMATE
uses all its printing elements to create graphic
1mages.
61
When you print either
7-
or 24-dot graphics, you
can control the spacing between the dots in your
graphic designs with the same commands used to
change character size, like pica or elite. The com
-
mand for pica (1 0 CPI) printing gives you graphics
with horizontal spacing of 120 dots per inch
.
The
command for elite (12 CPI) printing gives you
graphics with horizontal spacing of 160 dots per
inch. Both have 144 dots per inch vertically .
. - - - - -
7-Dot
Graphics
-----"'~
Start graphics
CHR$(8)
Stop graphics
Repeat graphics n
times, where
n
is
any number between
1 and 256.
CHR$(15)
CHR$(26);CHR$(n)
When you send 7-dot data, each dot is "magni
-
fied" vertically and horizontally by actually being
printed four times, creating a larger, denser dot:
the code for one dot automatically creates the
three additional dots.

Advertisement

Table of Contents
loading

Table of Contents