r-
I :
Chapter 6 / Command Reference
I:
I
I
,
SPOOLER
SPOOLER
[lprinter]
[lP] [IS]
[Ie]
[lG]
External
r;
I '
r
l '
r""'"
I '
I'
I '
r
! :
r:
! \
I"'
I ,
I
Lets you send commands to and get the
status
of
the
print
spooler,
assuming
the
SPOOLERSYS device driver exists
in
your CONFIG.SYS file.
Parameters
printer is
the
number of
the
printer you
want
to use.
It
can
be
either
1 or
2.
If
you omit
the
number, the system assumes
1.
Notice
that
you
must
precede
the
number
with
a
slash
(I).
You
can
install
two spoolers
if
you have two printers connected.
/P pauses
the
spooler. Using
the
/P switch is
similar
to toggling
the
off-line switch on
the
printer. Using /P a second time
turns
off
the
pause. The
pause
goes off automatically when
the
printer
buffer is full to prevent the computer from locking up.
/S
interrupts
the spooler's buffering
so
that
your computer imme-
diately stops
printing
data
in
the
buffer. All printer
data
goes
directly to
the
printer. This feature enables you to
print
data
without
waiting
until
the
buffer
is
empty.
LIse
/S
again
to
restart
the
buffering.
/C
clears
the
spooler. Any
data
remaining
in
the
buffer is not
printed.
/G
returns
the
status
of
the
spooler (installed, pause on/off, buff-
ering
on/off, size of buffer, percentage of buffer full).
Notes
and
Suggestions
• The spooler slows any programs
that
disable
the
spooler idle
interrupt,
such as programs
written
in
BASIC.
• The spooler
might
slow
the
CPU clock slightly.
• Refer to Appendices
Band
C
for
information on
installing
the
SPOOLERSYS device driver.
Examples
5
poole
r
[ENTER
I
starts
print
spooling
for
Printer
1.
175