要进行验证,可以使用 accept 命令,方法如下:
$ accept ipp://server/admin/queue |
例如,要验证服务器 noreaster 上的打印队列 masterly,可以键入:
$ accept ipp://noreaster/admin/masterly |
系统将提示您进行验证。
输入正确的验证信息,以便可以针对 uri 路径处理操作。
例如:
system% accept ipp://printing/printers/wspe accept: ipp://printing/printers/wspe: operation-not-supported system% accept ipp://printing/admin/wspe passphrase for user-name to access ipp://printing/admin/wspe: accept: ipp://printing/admin/wspe: not-authorized system% |
使用 IPP 的缺省配置时,以下命令会失败,因为没有针对该 uri 路径启用此操作:
$ accept ipp://server/printers/queue |