admin 管理员组

文章数量: 887021

参考了以下两位大佬的文章:
https://blog.csdn/inthesun29/article/details/105799656
https://blog.csdn/m0_45961169/article/details/125915188

1 安装Cups

更新系统

apt-get update
apt-get upgrade

安装相关的软件

apt-get install ghostscript
apt-get install dc
apt-get install foomatic-db-engine
apt-get install cups

编辑CUPS的配置文件

nano /etc/cups/cupsd.conf

首先需要将

Listen localhost:631

改为

Listen 0.0.0.0:631

然后将以下4段加入Allow all

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow all
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Allow all
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order 

本文标签: 打印机 M401A Armbian cups