参考https://www.ncnynl.com/archives/201608/742.htmlhtml
注意:bash
1. 使用zero建议购买zerow虽然贵了30,可是内置无线网卡,坑爹的zero2个usb口只有一个能用,另外一个是电源口ui
2.cupsd.conf 配置文件631端口监听改成0.0.0.0:631, 全部Order deny,allow后面换行增长allow from all要否则无权限访问code
3.使用https登陆htm
4.samba服务启动管理使用ip
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