当前位置: 首页 > news >正文

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添加打印机

控制面板-设备和打印机

http://www.lryc.cn/news/431405.html

相关文章:

  • three.js使用3DTilesRendererJS加载3d tiles数据
  • 坐牢第三十五天(c++)
  • Conda离线部署django
  • 1. Fabric.js安装使用
  • Excel中.xls和.xlsx文件格式的区别,及C++操作Excel文件
  • php实用命令
  • TypeError:未绑定方法
  • Java虚拟机(JVM)的架构和工作原理,字节码执行流程
  • 416.分割等和子集
  • python初始化一个三维数组
  • EI会议推荐-第二届大数据与数据挖掘国际会议(BDDM 2024)
  • RK3566/RK3568 Android 11 动态显示/隐藏下拉框
  • Android图片缓存工具类LruCache原理和使用介绍
  • 生活杂记1
  • go常用代码
  • 各种各样的正则表达式
  • WebRTC 基础
  • 半天攻略:用ChatGPT快速搞定高质量论文,从选题到完稿一站式指南!
  • 探索PDF的奥秘:pdfrw库的神奇之旅
  • 修改jupyter notebook 默认浏览器(不动配置文件,改系统默认浏览器)
  • 一个基于共享内存的内存数据库:1 介绍
  • 可视化编程 制作在线点名程序,人工和随机生成两种模式
  • pdb在CDB间搬迁 dblink 与rman
  • Linux系统中的fork与vfork的区别
  • 特殊类的设计和类型转换
  • ES模块导入、导出学习笔记
  • Bagging: 数量,而不是质量。
  • 维信小程序禁止截屏/录屏
  • 不同大模型代码解释对比
  • Python函数的编写