web analytics

Raspberry Pi – Setup Your HP Printer

Raspberry Pi – News and Resources

Follow these steps to setup your HP Printer on Raspberry Pi OS.

  1. Go to the Terminal mode by clicking on the >_ icon at the top of your screen.
  2. Type in sudo usermod -a -G lpadmin pi and press the enter/return key on your keyboard. This will give your user account the necessary rights to run the installation software.
  3. Type exit and press the enter/return key to leave Terminal mode.
  4. From the Raspberry Pi system menu (top left of screen) choose Preferences > Add / Remove Programs.
  5. In the search box (top left) type in HPLIP and press the enter/return key to search for HPLIP software which is the HP Linux Imaging and Printing software.
  6. From the resulting list, check all the boxes to select all the listed HP options. This is probably more than is needed, but go ahead and do that anyway to ensure all the features are available.
  7. Click on the OK button in the lower right to install all the selected software.
  8. When done, you’ll be back at the Raspberry Pi desktop.
  9. From the Raspberry Pi system menu (top left of screen) choose Preferences > HPLIP Toolbox.
  10. You will initially see a message stating “No Installed HP Devices Found.”
  11. Click on the Setup Device button.
  12. Choose USB or Network connection, and then click the Next button. In this example, we will choose Network connection.
  13. The resulting page will show the printer as found on the network. Select the printer and click the Next button.
  14. The next screen is the Setup Device options page. In this example, we will only select Printer Setup, and we will deselect the Fax Setup option. You can choose the “Send test page to printer” option and then click the Add Printer button.
  15. You will be prompted to enter your username and password. You can type in “pi” as the username and your password. Click the OK button. There will be a delay of perhaps 10-20 seconds or more. Eventually you should be returned to the Raspberry Pi Desktop.
  16. A test page should be printed.

Following the steps above should result in you being able to print to your printer.


From the Raspberry Pi system menu (top left of screen) choose Preferences > HPLIP Toolbox. You will see an option for scanning. Depending on your printer. The scanning feature may or may not work. This support document only intends to help with setup for printing functions.

Alternatively, you can scan to USB flash drive on your printer and then insert the USB flash drive on your computer when you are ready to organize files.

By Greg Johnson

Greg Johnson is a freelance writer and tech consultant in Iowa City. He is also the founder and Director of the ResourcesForLife.com website. Learn more at AboutGregJohnson.com


  1. Thank you, this is the only proper directions I found to install my HP LaserJet P1102w on Raspberry

  2. Yep – after 2 hours of Googling nonsense, found this and was scanning away in 2 minutes. Thank you very much.

Leave a Reply