From a user:
My goal was to be able to use programs like xsane or simple-scan to scan
from an HP All-in-One printer (model 8720) connected wirelessly. These
programs, and also sane-find-scanner could not find any installed scanners.
One solution I tried, was to get system-config-printer to install a
scanner, but I could not figure out how to do this. If this is indeed possible,
I would appreciate if you could tell me how.
The second solution I tried was to use apt to install hplip from the PureOS
green repository. This failed with the error messageSome packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: hplip : Depends: python3 (< 3.7) but 3.7.1-2 is to be installed Recommends: printer-driver-postscript-hp but it is not going to be installed E: Unable to correct problems, you have held broken packages."
This error message is very surprising to me considering how easy it was for
me to install hplip without using the PureOS repositories. aptitude -V -s
revealed that the repositories had hplip-3.17.10+repack0-5.
My problem was solved by downloading the hplip-3.18.12 tarball, unpacking
it, cding to the hplip-3.18.12 directory and then doing ./configure, make, and
make install. If I remember correctly, the only package I needed to add from
the PureOS green repository was libsnmp-dev, in order to have detection of
networked printers. Afterward, hp-setup -i, as always previously, detected my
wireless all-in-one hp printer, and installed both a "printer" and a
Rather than format this as a complaint or bug-report, I will just give my
a) It would be desirable for system-config-printer to be able to install a
fax/scanner as easily as it currently installs printers,
and b) It would seem desirable to update the Purism repository to
hplip-3.18.12, which at least for me seemed to compile easily.