Lprint - Sharp CE-158 Instruction Manual

Interface for pc-1500
Hide thumbs Also See for CE-158:
Table of Contents

Advertisement

All
and more about Sharp
PC-1
500
at
http://www.PC-1500.info
10. LPRINT
Executed
only when PO has
~n
dedared by the
SETDEV
statement.
O
therwise,
it wi
ll
execute 1fle other
option
or cause
ERROR
27.
• The specified
data is sent out
in
the ASC
II
code.
(1)
[General format)
LPR INT--+ expression
- -
-- -
Sends out
the
END code after s ending
the
contents
of
the expres.sion
i
1
)
the
forrnat
given
by the USING
statement.
(2)
!General
format)
Whern
a
sernicolon
{ :
}
is
used
for
~
separator
be twee
n
e xpre ssion-s,
data
are
sent
ou
t
in
succession.
When
it
ends w
ith
a semicolon (
:
).
it
will
issue
no END code,
(3
)
[General
fo rmat)
LPRINT
L r e s
sion
When data
are separated by a
comma
( . ) . a blank
portion
to the next zone will
be
padded
with SPACE
codes.
If
data were
to
be
too long
to
contai1i
in
the same
zone, it
extends av.er a next
ZOl'1
e.
Zones arc
defined
in the manner shown
below.
CapacitY
of
each 1.0ne can
bo
defined by means
of the
ZON
E
state
menc.
(Defau
lt
after
pow
~r-
on
is
13 digits.)
t
zone
0-.,,
1
,_
,
-
zone
1
_
,.,
1
-
zone
2
.,
END
·
c ode
outpu
t
(EXJ
LPRINT "A"
. "B".
"C"
t
zone
0
'l a
zone
1
' j '
zone
2
~
IC
spaces
spaces
(END code o utputl
END
code
output
NOTE·
1:
(21 and (3)
can
be
used
in combination.
{EX)
LRPINT 10 : 20 . 31>
(4)
!General
fo rmat]
LPRINT
TAB
-
expression
L
End
of
statement
Do not
sell
this PDF !!!
23

Advertisement

Table of Contents
loading

Table of Contents