How should I install HPLIP binary/proprietary plugin/driver for my HP printer or printer+scanner?
Let's assume that one has some modern HP printer and/or scanner which is supported by HPLIP package from official repository. Or supported by newer version of HPLIP package (see this answer about installation).
From official documentation (HP Developer Portal | All Supported Printer Models) it is known that device needs proprietary/binary driver or plugin.
How should one install such plugin?
Solution 1:
For HPLIP from APT make sure that you have installed hplip-gui
package. If it is not installed - install it with:
sudo apt-get install hplip-gui
According to official HP documentation we need to have HPLIP installed and then install binary plugin as follows.
To install the plug-in using the GUI you can follow these procedures:
Launch a command-line window and enter:
hp-setup
Select your connection type and click "Next".
Select your printer from "Selected Devices" list and click "Next".
Enter your root password when prompted and click "Next".
Use the recommended installation method and click "Next".
Check the box to accept with the "Driver Plug-In License Agreement" and click "Next".
Finish the installation of the printer as normal, however you may be prompted to re-enter your user name and password.
If you run into any additional install problems you can go to our known issues page and check for a solution.
For advanced users who wish to install HPLIP components manually, a utility exists (hp-plugin) which will download and install the plugin file, but it does not also install a printer queue like hp-setup does.
Do the following:
Launch a command-line window and enter:
hp-plugin
Follow the directions above for navigating the GUI but remember that the printer queue will not be installed through this process.
Solution 2:
As a complement to the main answer:
hp-setup
There is also
hp-toolbox
(it may need refreshing the printers list in order to show all info)
The scanner doesn't seem accessible though the above GUIs, so Simple Scan or alternatives are needed. -- There is Skanlite (cannot save to pdf), Xsane (I find it a bit complicated and oldish, but has a lot of options), VueScan (non-free).