Linux command
cupsreject 命令
文本
Copy it and replace filenames, paths, or keywords as needed.
命令示例
Reject new print jobs
cupsreject [printer_name]
Reject with reason message
cupsreject -r "[printer offline]" [printer_name]
说明
cupsreject instructs the printing system to reject new print jobs for the specified destinations. Existing jobs in the queue are not affected. Use cupsaccept to accept jobs again. Requires administrator privileges.
参数
- -r _reason_
- Set reason message for rejecting.
- -h _server:port_
- Connect to specific server.
FAQ
What is the cupsreject command used for?
cupsreject instructs the printing system to reject new print jobs for the specified destinations. Existing jobs in the queue are not affected. Use cupsaccept to accept jobs again. Requires administrator privileges.
How do I run a basic cupsreject example?
Run `cupsreject [printer_name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -r _reason_ do in cupsreject?
Set reason message for rejecting.