Raspberry Pi – News and Resources
Follow these steps to setup your HP Printer on Raspberry Pi OS.
- Go to the Terminal mode by clicking on the >_ icon at the top of your screen.
- 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.
- Type exit and press the enter/return key to leave Terminal mode.
- From the Raspberry Pi system menu (top left of screen) choose Preferences > Add / Remove Programs.
- 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.
- 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.
- Click on the OK button in the lower right to install all the selected software.
- When done, you’ll be back at the Raspberry Pi desktop.
- From the Raspberry Pi system menu (top left of screen) choose Preferences > HPLIP Toolbox.
- You will initially see a message stating “No Installed HP Devices Found.”
- Click on the Setup Device button.
- Choose USB or Network connection, and then click the Next button. In this example, we will choose Network connection.
- The resulting page will show the printer as found on the network. Select the printer and click the Next button.
- 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.
- 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.
- 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.