Radio Shack 26-1190A Hardware Manual page 20

Plotter printer. trs-80 micro computer system
Table of Contents

Advertisement

M
Function:
When
M00
CR
is
input, the
pen moves from
the current point to the
origin
of
the absolute
coordinate system.
Example:
LPRINT "M00"
(0,
0)
Origin
X
(300,
-200)
Current point
Combining
P Mode
and
C Mode
When
changing
to the
P mode,
the current position of the
pen becomes
the
origin
of
the Y-axis
(Y=0).
(In
the
C
mode,
the absolute coordinate value
in
the
Y
direction
is
not
stored.)
Example:
10
LPRINT
CHR$
(2)
20
LPRINT
"G01
X500 Y-500"
30
LPRINT
CHR$
(1
)
CHR$
(32)
"A"
CHR$
(8)
CHR$
(8).
40
LPRINT
CHR$
(2)
50
LPRINT
"G01
X1000 Y-500":
Note
regarding
line
30:
CHR$
(32)
is
a
space code;
without
it,
letter
"A"
would
be
printed
right
on
the
point.
CHRS
(8)
is
a
back-space
code
to
compensate
for
the
normal
movement
to the
right
caused
by
the space
code and "A".
The
pen
moves
twice (four or
eight
times)
in
an
enlarged
mode,
therefore use
the appropriate
number
of back-space codes
to
compensate.
500
500
o o
A
8
in
Note
that
X
axis
is
not
changed
during
mode
change-over.
-19-

Advertisement

Table of Contents
loading

Table of Contents