位置:首页 > 其他技术 > Linux/Unix命令 > accept UNIX/Linux命令

accept UNIX/Linux命令

Windows10用户联盟QQ群: 227270512


名称

accept/reject - 接受/拒绝作业发送到目的地

内容简介

accept [ -E ] [ -U username ] [ -h hostname[:port] ] destination(s) 
reject [ -E ] [ -U username ] [ -h hostname[:port] ] [ -r reason ] destination(s)

描述

接受指示接受打印作业的打印系统至指定的目的地。

拒绝指示拒绝打印作业的打印系统至指定的目的地。 -r选项设置拒绝打印作业的原因。如果没有指定的原因默认值"Reason Unknown".

选项

支持以下选项都接受和拒绝:
Tag 描述
-E Forces encryption when connecting to the server.
-U username
  Sets the username that is sent when connecting to the server.
-h hostname[:port]
  Chooses an alternate server.
-r "reason"
  Sets the reason string that is shown for a printer that is rejecting jobs.

兼容性

System V打印系统,CUPS允许打印机名称包含任何可打印的字符,除了空格,制表符,“/”或“#”。此外,打印机和类名不区分大小写。

接受和拒绝在CUPS版本可能会要求用户对打印系统的配置取决于一个访问密码。这不同于System V的版本,需要root用户执行这些命令。



标签:accept    UNIX    Linux    命令    名称    accept