EasyManua.ls Logo

Sharp MZ-700 - Page 205

Sharp MZ-700
213 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A.6.3 Graphic mode commands
A.
6. 3. 1 Command
type
In
the
graphic mode, the
printer
can be controlled
by
outputting
the
following commands
to
the printer.
Words in parentheses are
BASIC statements which have
the
same functions as the graphic mode com-
mands.
Command name
Format
Function
Specifies the type
of
line (solid
or
dotted)
and
LINE
TYPE Lp (p = 0
to
15)
the
dot
pitch.
--
I.
,I,
p = 0 : solid line, p = 1
"'
15
:
dotted
line
p
p
ALL INITIALIZE A
Sets
the
printer in
the
text
mode.
HOME (PHOME)
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).
Dx,y
, . . .
xn,yn
Draws lines from the current pen location
to
DRAW (LINE)
(-999
~
x, y
~
999)
coordinates (x
1
,
y
1
),
then
to coordinates
(x
2
,
y
2
),
and
so
forth.
RELATIVE DRAW
J.C~X,
t::,
y
...
t::,
xn
,
t::,
yn
Draws lines from
the
current pen location
to
(RUNE)
( - 999
~
l::,X,
t::,y
~
999)
relative coordinates (
.6X
1
,
t::,y
1
),
then
to
relative
coordinates
(.6X
2
,
t::,
y
2
)
and
so
forth.
MOVE
(MOVE)
Mx,y
Lifts the pen and moves
it
to
coordinates (x, y).
(- 999
~
X
,
y
~
999)
RELATIVE MOVE
R.CIX,
t::,
y
Lifts the pen and moves
it
to
relative coordinates
(RMOVE) (
-999
~
t::,
x
,
t::,
y
~
999)
(.6X,
t::,y).
COLOR CHANGE
Cn (n =
0
to
3)
Changes
the
pen calor
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
Pc
1
c
2
c
3
..
en (n =
00
)
Prints characters.
Xp, q, r (p =
0
or
I)
Draws an X axis when p = 1 and a Y axis when
AXIS
(AXIS)
(q =
-999
to
999)
p = 0. q specifies
the
scale pitch and r specifies
(r
= 1
to
255)
the
number
of
scale marks
to
be drawn.
A. 6. 3. 2 Command
format
There are 5 types
of
command formats
as
shown below.
I. Command character only (without parameters)
II
A H, II H
II
'
11
1
11
2.
Command character plus
one
parameter
II
L
1t
,
ll
c
ll
,
ll
s
ll
, UQ
II
3. Command character plus pairs
of
parameters
il
D
11
'
11
J
11
'
11
M 11 '
~I
R !I
11
,
''
is used
to
separate parameters, and a CR code
is
used
to
end
the
parameter list.
4. Command plus character string
11
P "
The
character string
is
terminated with a CR code.
5. Command plus three parameters
II X
IL
" ,
11
is used
to
separate parameters.
.I
--------------------------
- -
----
- -
---199

Other manuals for Sharp MZ-700

Related product manuals