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?
For HPLIP from APT make sure that you have installed
hplip-gui
package. If it is not installed - install it with:According to official HP documentation we need to have HPLIP installed and then install binary plugin as follows.
As a complement to the main answer:
There is also
(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).
I have just installed the following 5 packages on both Kubuntu 18.04 and Linux Mint 19 systems and been able to print from my HP Laserjet P1505 printer after long trials.
Once you install them all using Muon or Synaptic or (
sudo apt-get install
), you are all set.On new Ubuntu 19.10 there was a problem: the plug in not won't install no more.
I found a solution here by zaskar_84 user
I report this here using concrete command to realize it.
Best regards to zaskar_84