A
ll
and more about Sharp PC-1500
at
http://www.PC-1500.info
C.6.3. COLOR
T
he
COLOR
command
allows the specification
of
the pen
to
be
used for
all
subsequent printing
and dra
wi
ng. If each pen position contains a di
fferent
color pen.
the
n the COL
OR
comm
a
nd
may
be used
to
ch
an9e pen colors. The form of the COLOR comma
nd
is:
COLOR
exp
ressi
on
(either mode}
The
expre
ssi
on nlust evaluate to an integer in the
range
0
to
3.
Each
integer corresponds to a
different pen.
Th
e color represented
by
the
in
teger
\'V
iii
va
ry depending on the o
rd
er in
wh
ich the
pens were loaded in
the
carrier. The correspondence may be determine(!
by
the
TEST command
!described above}.
Numbers
11Jh
i
ch
are
not
in
te~
1t1
rs
but
which are
in
the range 0 through 3
\Vilt
be trun
ca
ted to
integers. All othl!f numbers will cause an ERROR 19.
Wh
en
th
e PC·
1500
Computer
is
tu
rn
ed
OFF
and
then
ON. again
the
p
en
which corresponds
to zero is selected.
In t
he
T
EX
T mode, ex
ec
ution
of
the
COL
OR
comm
and
will ca
use
the p
en
po
si
ti
on to
be
reset
to
the
le
ft side
of
the paper.
In
the GRAPH mo
de.
the p
en
will return
to
its previo
us
pos
ition.
C.
6.4
. LF (Line Feed}
Th
e
LF
command
causes the pal)er in
th
e
printe
r to be
moved
forward
or
bac
ki.
vards. The f
orm
of
t
he
command
is:
LF
ex
pr
ess
i
on
(TEXT mode
onlyl
If
the
expres.$ion evalua,es
to
a positive
nv
mbe
r t
he
p
~
per
is
a9
vanetl
d the
nymbe
r of
l
i
n~s
specified
by
tl
u~
expression. An expressi on i.•lhich evaluat
es
to a negative nu
mber
will cause the
paper
to
be pull
ed
back the number
of
li
nes specified
by
the expression.
Th
is
is
illustra
ted
by
Figure 2:
F
ig
ure 2: (minus d
ir
ection}
-2
- -
-----
------
- J -
----
-
--
-----
0
-----
-----
~ - -
< = p
en
position
+J
- - -
-----
---
--
• 2 -
-----··
-
-----
(plus direction}
The
actual distance
the
paper is moved
is
related to the character size in effe
ct
when the
LF
instruction is
specified.
When the paper
is
traveling
in
the
reverse
di
re
c
ti
on (i
.e.
it is being
pu
lled
back) an internal
co
un ter prevents it from moving
bac
kwards mo
re
t
han
10.24 centimeters (about 4 inches}.
NOTE:
Do
noit attempt
to
i
nse
rt paper
i.vh
ile the paper f
eed
mechanism is
operati
ng. T
his
can
damage the
prin~er
.
121
Do
not sale this PDF
!!!