本文主要是介绍armbian cups 远程打印机 1022,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
使用 CUPS Web 浏览器界面设置和管理打印机 - Oracle Solaris 管理:常见任务
N1刷armbian变身打印服务器,支持全平台无线打印@PC扫描_存储设备_什么值得买 (smzdm.com)
第 6 章 使用 Web 界面向 CUPS 添加打印机 | Red Hat Product Documentation
apt install -y cups
cat /etc/cups/cupsd.conf
LogLevel warn
PageLogFormat
MaxLogSize 0
ErrorPolicy retry-job
Listen 0.0.0.0:631
Listen /run/cups/cups.sock
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
WebInterface Yes
<Location />Order allow,denyAllow all
</Location>
<Location /admin>Order allow,denyAllow all
</Location>
<Location /admin/conf>AuthType DefaultRequire user @SYSTEMOrder allow,denyAllow all
</Location>
<Location /admin/log>AuthType DefaultRequire user @SYSTEMOrder allow,denyAllow all
</Location>
<Policy default>JobPrivateAccess defaultJobPrivateValues defaultSubscriptionPrivateAccess defaultSubscriptionPrivateValues default<Limit Create-Job Print-Job Print-URI Validate-Job>Order deny,allow</Limit><Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job>Require user @OWNER @SYSTEMOrder deny,allow</Limit><Limit CUPS-Get-Document>AuthType DefaultRequire user @OWNER @SYSTEMOrder deny,allow</Limit><Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>AuthType DefaultRequire user @SYSTEMOrder deny,allow</Limit><Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>AuthType DefaultRequire user @SYSTEMOrder deny,allow</Limit><Limit CUPS-Authenticate-Job>Require user @OWNER @SYSTEMOrder deny,allow</Limit><Limit All>Order deny,allow</Limit>
</Policy>
<Policy authenticated>JobPrivateAccess defaultJobPrivateValues defaultSubscriptionPrivateAccess defaultSubscriptionPrivateValues default<Limit Create-Job Print-Job Print-URI Validate-Job>AuthType DefaultOrder deny,allow</Limit><Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>AuthType DefaultRequire user @OWNER @SYSTEMOrder deny,allow</Limit><Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>AuthType DefaultRequire user @SYSTEMOrder deny,allow</Limit><Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>AuthType DefaultRequire user @SYSTEMOrder deny,allow</Limit><Limit Cancel-Job CUPS-Authenticate-Job>AuthType DefaultRequire user @OWNER @SYSTEMOrder deny,allow</Limit><Limit All>Order deny,allow</Limit>
</Policy>
<Policy kerberos>JobPrivateAccess defaultJobPrivateValues defaultSubscriptionPrivateAccess defaultSubscriptionPrivateValues default<Limit Create-Job Print-Job Print-URI Validate-Job>AuthType NegotiateOrder deny,allow</Limit><Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>AuthType NegotiateRequire user @OWNER @SYSTEMOrder deny,allow</Limit><Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>AuthType DefaultRequire user @SYSTEMOrder deny,allow</Limit><Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>AuthType DefaultRequire user @SYSTEMOrder deny,allow</Limit><Limit Cancel-Job CUPS-Authenticate-Job>AuthType NegotiateRequire user @OWNER @SYSTEMOrder deny,allow</Limit><Limit All>Order deny,allow</Limit>
</Policy>
service cups restart
https://ip:631/admin
add printer
添加好打印机,测试打印
windows添加打印机
控制面板-设备和打印机
这篇关于armbian cups 远程打印机 1022的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!