← 返回命令列表

Linux command

cupsenable 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Enable a printer

cupsenable [printer_name]

Enable and release held jobs

cupsenable --release [printer_name]

Enable a printer on a remote server

cupsenable -h [server:port] [printer_name]

Authenticate as a specific user

cupsenable -U [username] [printer_name]

Force an encrypted connection

cupsenable -E [printer_name]

说明

cupsenable starts the named printers or classes, allowing them to process queued jobs. This reverses the effect of cupsdisable. Unlike the System V versions (_enable_ / _disable_), the CUPS commands have been renamed to avoid conflicts with the bash(1) built-ins. Printer and class names are not case-sensitive and may contain any printable character except SPACE, TAB, "/", or "#".

参数

-E
Force encryption of the connection to the server.
-U _username_
Use the specified username when connecting to the server.
-c
Cancel all jobs on the named destination.
-h _server:port_
Connect to the specified server and port.
--release
Release previously held jobs for printing. Use after cupsdisable --hold to resume printing.

FAQ

What is the cupsenable command used for?

cupsenable starts the named printers or classes, allowing them to process queued jobs. This reverses the effect of cupsdisable. Unlike the System V versions (_enable_ / _disable_), the CUPS commands have been renamed to avoid conflicts with the bash(1) built-ins. Printer and class names are not case-sensitive and may contain any printable character except SPACE, TAB, "/", or "#".

How do I run a basic cupsenable example?

Run `cupsenable [printer_name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -E do in cupsenable?

Force encryption of the connection to the server.