Download Print this page

Radio Shack TRS-80 100 Quick Reference Manual page 14

Hide thumbs Also See for TRS-80 100:

Advertisement

Printer
(LPT)
Printer
Commands
and Functions
C
LOSE
f
fM n
umber
list
Coses
the
speci
ted
tile
n
umoo-rs
CLOSE
1
2,3,
CLQSf
LCOPY
Prints the text
on
the
LCD
screen o"to tne
printer.
LCOPY
Ignores
nontext
data.
LCG="t
LUST
Mnenurn&er rang*
L«stsEhe
Una
numMfrao^a oUno
current
program
onto
trie
printer
LUST*CO300
LUST
UPOS(<tomrrn-rnjrrieriee*pn»aalo«/
r^lU'tisTO
current
positP/i
ot
tne cinte- pnni
noaC wlr*n
the-
printer butter
1
PRINT
Pnnte»
head
pot-1
ion"
i.POS»0J
LPRINT«>pr«B«tonJitt
P>irteoulthevaJ
ll
e&ofe;v>'es*«>rt<isfon
Pieptnier.
LPRIN" ThelotaHor'.AV was
1
,TT
LPP1INTX.Y.Z
LPRiMTUSlMO-to*mei«d'ln
ff
-':expre«eton*W
Formats
the data
m enpnssm
nsi
mon
pilots
it
on
itw
unntet
.
lonvai
cot*
ws
oi
one
or
more
ol
He
lo>io*i«g
:
"I"
PrinBiirslstringcharacior
I.PRIMUSIM3
r.Tanfly'
\
nspaos*
**
PrintsZ-tncr-iaractefSiiixiiasirmg
LPRINTUS1M3'
WYTanay"
#•
Printsonedigrtloreach
#
LPHlNTUSNG"fir###-:5
+
Inserts
the
a©ebra<c
sign
of
Ihe
number.
L
PRINT USING
"
+
MaWViS
Inserts
a "«xrs
sign
either al
Ih
e c«c
inning
or
end
of negative nun-tows.
IPB1NT USING
"-#»####
.14
Converts
leading
DtanKs
to
leading
asterisks
Blanks
LPFIkM"US*JG
"*####
.145
M
inserts
-a
Collar
sign
»
(he
Immediate
left
of
th
elormatted *umt58r
LPR)NTUSIUG'$S#####
;«50
"1
ChanrjesiBaongscacrttoasifltiWs
except
(or
the
space
to
tte
i
mm
ofliato
let
o
t
ttio
miirOer.
where
«
tnwrtsa
dollar sgrt.
LPPJMUSING
"S###
.12
inserts
a
flea
mai
pom
LPFflNT
USING
*##### ##
'.14
5
inserts
e com
ma
betore even/ three printed
digits
to
the '©I
ol
ihedecJmal
port
UPfthiTuSlNG
'#########
14432
P
nnts
ire
number
'*
«*pQOenMi
1o
rmai.
LPFIINTUSING'***
#'
'
"*.34??00
MAXFILES
Siu'95lh«currentmatoturiiniifriue»olnies
Voumay
a«es5 MAXFILES
Ikeany
numeric
vanable.
MAHFiLES
- 5
"'MAJaiLiiS
OPEN'LPT:"
FOROUTPUT AS
fie
number
Aiiocaies
a
buffer
««
rlufflAOV
lor
*
printer
file.
OPEN"
LPT."
FCWCU'PU-
AS
1
PRINT
tHanumb*r,
expression
Hat
Prints
the
values
erl
express© n
Its'
«to
the prlnWr
(He
OPEN
ed as
Me
number
FfllNT*1
A$
MlNT
#4 1020.30
PRWT*ftMr«wml)e/,
USING "^m»r;«fWfM*c-iMBf
Formats
the
oata
in
».ppjWn
list
and
sends
it
to
We
printer
fe
OPEN
ed
as
MenumOev.
For
a
description
o'lorrnal.
see
LPR
INT
USING
SAVE
"LPT:"
PfnBihecurre^BASICp'OOrBrnortoirtepnntBf
SAVE
LPT
TAB
I
n
umertc
expression)
Skp
a
nontffs
a-ipnashn
s paces
betore
printing
tfie
ne*t
data
item
numeric expression
ra
ngos
between
08rw?S5
PRINT#l
TAB(30l.'Tflb«ef
LPniNTTAB(30)rTotal'JAB(30);'Nurnbr
.TA0OOV
Balance

Advertisement

loading