Sharp mz-800 Owner's Manual page 209

Hide thumbs Also See for mz-800:
Table of Contents

Advertisement

2
Character scale
© The character scale is automatically set to 1 (40 chr/line) when the power is turned on. Afterwards,
it can be changed by control codes and commands.
© In the graphics mode, the scale can be changed within the range 0 to 63.
© The scale is set to 1 when the mode is switched from graphics to text.
3
Graphics mode commands
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
commands.
Command name
Format
Function
LINE TYPE
Lp (p=0 to 15)
Specifies the type of line (solid or dotted) and the
dot pitch.
p=0:
solid line, p=1 to 15 : dotted line
[CALL INITIALIZE
HOME (PHONE)
A
Places the printer in the text mode.
H
Lifts the pen and returns it to the origin (home
position).
INITIALIZE (HSET)
I
Sets the current pen location as the origin (x=0,
y=0).
DRAW (LINE)
Dx, y, ..., xm, yn
(-999 sx, ys999)
RELATIVE DRAW
(RLINE)
JAx, Ay, ..., Axn, Ayn
(-—999s Ax, Ay =999)
MOVE (MOVE)
Mx, y
(-999sx, ys999)
RELATIVE MOVE
Draws lines from the current pen location to
coordinates (xi, yi), then to coordinates (x2, y2),
and so forth.
Draws lines from the current pen location to rela-
tive coordinates (Ax;, Ay;), then to relative coor-
dinates (Ax2, Ay2) and so forth.
Lifts the pen and moves it to coordinates (x, y).
RAx, Ay
Lifts the pen and moves it to coordinates
(RMOVE) | (—999<Ax, Ay=999)
(Ax, Ay).
COLOR CHANGE
Cn (n=0 to 3)
Changes the pen colour to n.
(PCOLOR)
SCALE SET
Sn (n=0 to 63)
Specifies the character scale.
ALPHA ROTATE
Qn (n= 0 to 3)
Specifies the direction in which characters are
printed.
PRINT
AXIS (AXIS)
Peicacs ... cn (n=)
Prints characters.
Xp, q, tr (p=0 or 1)
(q= —999 to 999)
(r=1 to 255)
Draws an X axis when p=1
and a Y axis when
p=. q specifies the scale pitch and r specifies the
number of scale marks to be drawn.
A-22

Advertisement

Table of Contents
loading

Table of Contents