Linux command
cupsreject 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
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.