Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 101

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

Library Commands
SPOOL
Capture Printer Output or Print a Spool File
SPOOL
{switch}
switch
controls the spool function. If
switch
is omitted, the
SPOOL
status is displayed.
one of the following:
oler. This switch must be used before
SWitches can be used.
OFF
turns off the spooler, and closes the capture- and
print-files.
N, F'"
file
closes the current capture-file and opens a new one
spe9ified by
file.
If
file
is omitted, subsequent printer output
dummied (ignored) until a capture file is named with
N,
F=
P, F
=
file,
K, C:::::
copies,
l:::::
line
begins spool-printing.
file
is the file to be printed.
to keep the print-file after printing it. If
K
is
e will be deleted after it is printed.
TRSDOS
will
print-file if the file is closed by a
SPOOL S
r if a disk error occurs in the print-file.
C
=
copies
Specifies how many copies you want. If omitted,
one copy is made. c may be any number from
1
to
255.
l:::::
line
Specifies the line number where printing starts. A
tine is defined sequence of characters terminated by a
carriage return. If omitted, printing starts at line one.
L
may
be any number from
1
to
65535.
H
Halts spool-printing but saves the current position for later
resumption ("R" switch).
R,
L:::::{ine
Resumes spool-printing after a halt
(H
switch), or
displays the current line number if the spooler has not been
halted. If L
=
line
is used, printing resumes at the specified line. If
L
=
line
is omitted, printing resumes from where it was halted.
S
Closes but does not kill the print-file; leaves the
capture-file open.
137

Advertisement

loading