Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Installing HPLIP for CUPS on a Raspberry Pi
If you have a HP printer or scanner and you want to be able to use it on your Raspberryi Pi running the Raspbian operating system, you`ll have to install HP Linux Imaging and Printing and CUPS.
In the terminal run the following commands:
sudo su
apt-get update
apt-get install hplip cups
usermod -a -G lpadmin pi
In a browser, on the raspberry pi you can now access the CUPS configuration screen at
If you also would like to use your MFP/scanner also run the following commands in the terminal:
apt-get install sane
The configuration and applications are up to you, the requirements are now installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment