参考https://www.ncnynl.com/archives/201608/742.html
注意:
1. 使用zero建议购买zerow虽然贵了30,但是内置无线网卡,坑爹的zero2个usb口只有一个能用,另一个是电源口
2.cupsd.conf 配置文件631端口监听改为0.0.0.0:631, 所有Order deny,allow后面换行增加allow from all要不然无权限访问
3.使用https登录
4.samba服务启动管理使用
systemctl enable smbd
systemctl start smbd
systemctl stop smbd
apt install cups sane hplip hplip-gui
usermod -a -G lpadmin pi
sane-find-scanner
apt install hplip hplip-gui hplip-ppds openprinting-ppds printer-driver-hpcups printer-driver-hpijs
gksudo hp-setup