Manual page for enable(1)
enable, disable - enable/disable LP printers
SYNOPSIS
/usr/bin/enable printer ...
/usr/bin/disable [
-c | -W
] [
-r
[
reason
]]
printer ...
AVAILABILITY
SUNWlpu
DESCRIPTION
The enable command activates the named
printers,
enabling them to print requests submitted by
the lp command.
If the printer is remote,
the command will only enable the transfer of requests
to the remote system;
the enable command must be run again,
on the remote system,
to activate the printer.
(Run lpstat -p to get the status of
printers.)
The disable command
deactivates the named
printer,
disabling it from printing requests
submitted by lp.
By default, any requests
that are currently printing
on the designated printer(s)
will be reprinted in their entirety
either on the same printer
or on another member of the same class of printers.
If the printer is remote,
this command will only stop
the transmission of jobs to
the remote system.
The disable command
must be run on the remote system to disable the printer.
(Run lpstat -p to get the status of
printers.)
OPTIONS
Options for use with
disable
are:
- -c
-
Cancel any requests
that are currently printing
on the designated printer(s).
This option cannot be used with the
-W
option.
If the printer is remote,
the
-c
option will be silently ignored.
- -W
-
Wait until the request currently being printed
is finished before disabling
the specified printer.
This option cannot be used with the -c option.
If the printer is remote,
the -W option will be silently ignored.
- -r reason
-
Assign a
reason
for the disabling
of the printer(s).
This
reason
applies to all
printers
specified.
This
reason
is reported by
lpstat -p.
reason
must be enclosed in quotes if it contains blanks.
The default reason is
unknown reason
for the existing
printer,
and
new printer
for a printer just added to the system but
not yet enabled.
FILES
/var/spool/lp/*
SEE ALSO
lp.1
lpstat.1
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97