參考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