Radio Shack 26-1190A Hardware Manual page 15

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

Advertisement

G
Functions
G
Functions
control the action
of
the
pen and
the paper.
These
control statements
consist
of
the
ASCII
character
"G"
plus a
series
of
ASCII numbers
and
letters
defining the
line
and/or
figure
segments
desired.
There
are
seven
G
functions as
noted
below:
G
Function Table
^Code
Function
Remarks
G00
Straight
line
segment
Dotted
Line
G01
Straight
line
segment
Solid
Line
G02
Arc segment
(drawn
clockwise)
Solid
Line
G03
Arc segment
(drawn
counter-clockwise)
Solid
Line
G50
Pen up
movement
G90
Rectangular
figure
Solid
Line
G91
Triangular
figure
Solid
Line
G00
Function:
Draws
a dotted
line
between
the current
point
and
the point
specified
by
the
X
and
Y
coordinates.
Format:
G00XnnYnnCR
Example:
LPRINT "G00 X800 Y500"
>•
(800,
500)
Current point
G01
Function:
Draws
a
solid line
between
the current point
and
the point specified
by
the
X
and
Y
coordinates.
Format:
G01XnnYnnCR
-14

Advertisement

Table of Contents
loading

Table of Contents