enable, disable - enable/disable LP printers
/usr/bin/enable printer...
/usr/bin/disable [-c | -W] [-r [reason]] printer...
The enable command activates printers, enabling them to print requests submitted by the lp command. enable must be run on the printer server.
The disable command deactivates printers, disabling them from printing requests submitted by the lp command. By default, any requests that are currently printing on printer are reprinted in their entirety either on printer or another member of the same class of printers. The disable command must be run on the print server.
Use lpstat -p to check the status of printers.
Generally, enable and disable are run on the print server to control local print queues. Under some configurations, they can also be run on client systems when IPP is being used to communicate between client and server.
The following options are supported for use with disable:
-c
-W
-r [reason]
The following operand is supported for both enable and disable:
printer
The following exit values are returned:
0
non-zero
/etc/printers.conf
$HOME/.printers
ou=printers
printers.conf.byname
printers.org_dir
See attributes(5) for descriptions of the following attributes:
|
lp(1), lpstat(1), printers.conf(4), attributes(5)
When IPP is in use, the user is prompted for a passphsrase if the remote print service is configured to require authentication.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |