raspberry树莓派安装CUPS实现打印服务器共享
1、sudo atp update
2、sudo apt install hplip vim
3、sudo vim /etc/cups/cupsd.conf
0.0.0.0:631
5、https://你的树莓派ip:631
6、添加http://你的树莓派ip:631/printers/打印机名
2、sudo apt install hplip vim
3、sudo vim /etc/cups/cupsd.conf
0.0.0.0:631
<Location />
Order allow,deny
Allow from @Local
</Location>
# Restrict access to the admin pages…
<Location /admin>
Order allow,deny
Allow from @Local
</Location>
# Restrict access to configuration files…
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow from@Local
</Location>
4、sudo service cups start5、https://你的树莓派ip:631
6、添加http://你的树莓派ip:631/printers/打印机名
评论
发表评论