Printer connected to Raspberry PI accessable from network.07 Aug 2018
For a long time my father has beem complaining that using the printer wasn’t practical enough, so to solve this I decided to add a Raspberry pi Zero W connected to my printer (HP Deskjet F2050) and share the printer using CUPS.
Initially you need to connect to your RPi and install CUPS.
sudo apt-get install cups
If you want to have a webinterface to configure it from your local network, update
sudo vim /etc/cups/cupsd.conf
Find the line:
And update it to:
# Listen localhost:631
You will have multiple
<Location, if you want to be able to access only from your computer, add
Allow from YOUR_IP for every section. Example:
Allow from 10.0.0.2
(If you want from any, use Allow from all)
Add your user (in my case PI) to
sudo usermod -a -G lpadmin pi
Access your Raspberry Pi ip on your browser on port 631 (https://RPI_IP:631/).
Administration - Add printer Menu. You should see your local printer there, select it and follow the wizard to setup it.
If you’re using HP printer and can’t find yours, try:
sudo apt-get install hplip
Let me know if you have any problems.
See you, Matheus