Graphic mode commands
4-3-1. Command type
In the graphics mode, the computer can control the printer with the following commands.
The words in parentheses are BASIC statements which have the same functions as the graphics mode
Lp (p=O to 15)
Specifies the type of line (solid or dotted) and the
p = 0 : solid line, p = I to 15 : dotted line
Places the printer in the text mode.
Lifts the pen and returns it to the origin (home
Sets the current pen location as the origin (x = 0,
Dx, y, ... , xn, yn
Draws lines from the current pen location to
coordinates (Xl. Yt), then to coordinates (X2, Y2),
and so forth.
RE LA TIVE DRAW
J.:lx, .:ly, ... , .:lxn, .:lyn
Draws lines from the current pen location to reI a-
( - 999
tive coordinates (.:lxI. .:lYt), then to relative coor-
dinates (.:lx2, .:lY2) and so forth.
Lifts the pen and moves it to coordinates (x, y).
Lifts the pen and moves it to coordinates
( - 999
Cn (n=O to
Changes the pen colour to n.
Sn (n=O to
Specifies the character scale.
Qn (n= 0 to
Specifies the direction in which characters are
PCtC2C3 ... cn (n =
Xp, q, r (p=O or I)
Draws an X axis when p = I and a Y axis when
(q = - 999 to 999)
p = O. q specifies the scale pitch and r specifies the
(r = I to 255)
number of scale marks to be drawn.
4-3-2. Command format
There are 5 types of command formats as shown below.
1. Command character only (without parameters)
A, H, I
Command character plus one parameter
L, C, S, Q
Command character plus pairs of parameters
D, J, M, R
" , " is used to separater parameters, and a CR code is used to end the parameter list.
4. Command plus character string
The character string is terminated with a CR code.
5. Command plus three parameters
" , " is used to separate parameters.