Share this post on:

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.

Scanning

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.