Команда enable

Enables / Disables LP printers.

Синтаксис

enable printer

disable [-c] [-W] [ -r [ reason ] ] printer

-cCancel any requests that are currently printing on printer. This option cannot be used with the -W option. If the printer is remote, the -c option will be silently ignored.
-WWait until the request currently being printed is finished before disabling printer. This option cannot be used with the -c option. If the printer is remote, the -W option will be silently ignored.
-r reasonAssign a reason for the disabling of the printer(s). This reason applies to all printers specified. This reason is reported by lpstat -p. Enclose reason in quotes if it contains blanks. The default reason is unknown reason for the existing printer, and new printer for a printer added to the system but not yet enabled.
printerThe name of the printer to be enabled or disabled. Specify printer using atomic name.

Примеры

enable printit - Enable printer printit.

Обратно к списку команд