A.
6
Color Plotter-Printer Control Codes
A.6.1 Control codes used
in
the text mode
•
Text
code ($01)
Sets
the
printer in
the
text
mode.
• Graphic code ($02) . . . . . . . . . . . . . . . . . . . . . . . Same
as
the
BASIC MODE GR statement.
Sets
the
printer
in
the
graphic mode.
• Line
up
($03) . . . . . . . . . . . . . . . . . . . . . . . . . . . . Same
as
the
BASIC SKIP-I statement.
Moves
the
paper one line in the reverse direction. The line counter is decremented
by
1.
• Pen test ($04)
..............
.
.............
Same as
the
BASIC TEST statement.
Writes
the
following patterns
to
start ink flowing from
the
pens,
then
sets scale = 1 (40 chr/line),
color
= 0.
Black Blue Green Red
DODO
• Reduction scale ($09) + ($09) + ($09)
Reduces
the
scale from 1
to
0 (80 chr/line).
• Reduction cancel ($09) + ($09) + ($OB)
Enlarges
the
scale from 0
to
1.
(
40
chr/line ).
• Line
counter
set ($09) + ($09) +
(ASCIIh
+ (ASCII)
1
+ (ASCII)
0
+ ($OD)
.........
. . .
.......
..
. .
............
..
..
Same
as
the
BASIC PAGE statement.
Specifies
the
number
of
lines per page as indicated
by
3
bytes
of
ASCII code. The maximum
number
of
lines per page is 255. Set
to
66 when
the
power is turned
on
or
the
system
is
reset.
• Line feed ($0A) . . . . . . . . . . . . . . . . . . . . . . . . . . Same as the BASIC SKIP 1 statement.
Moves
the
paper one line in
the
forward direction. The line
counter
is
incremented
by
1.
• Magnify scale ($OB)
Enlarges
the
scale from 1 to 2 (26 chr/line).
• Magnify cancel ($0C)
Reduces
the
scale from 2
to
1.
• Carriage return ($OD)
Moves the carriage
to
the left side
of
the
print area.
• Back space ($0E)
Moves
the
carriage
one
column
to
the
left. This code is ignored when
the
carriage is at
the
left side
of
the
print
area.
•
Form
feed ($OF)
Moves
the
paper
to
the
beginning
of
the
next
page and resets the line
counter
to
0.
•
Next col
or
($1 D)
Changes
the
pen
to
the
next
color.
A.6.2 Character scale
• The character scale is automatically set
to
1 (40 chr/1ine) when
the
power
is
turned on. Afterwards,
it
can be changed
by
the
control codes and commands.
• In
the
graphic mode,
the
scale can be changed in
the
range from 0
to
63.
• The scale
is
set
to
1 when
the
mode is switched from graphic
to
text.
198
--
--
--------------------
--------
--
--------
----------
------
--------
---