HPLIp for Debian 12

Asked by Denis Gottardello

Hi, when hplip will support Debian 12?

Question information

English Edit question
HPLIP Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :

There are adapted hplip packages for all current Debian releases in the Debian repositories, see https://tracker.debian.org/pkg/hplip

Revision history for this message
Denis Gottardello (mrdebug) said :

Hi, hplip version 3.23.8 on Debian 12 requires python3-dbus.mainloop.qt and python3-pyqt4 but these packages are not available on Debian 12.

Revision history for this message
Manfred Hampl (m-hampl) said :

There is HPLIP version 3.22.10+dfsg0-2 for Debian 12 in *.deb format in the Debian repositories, to be installed with apt-get.

Revision history for this message
Nicolas Baranger (nbanba) said :

I succeed in building the driver hplip 3.23.12 on Debian11 from the .run package I download here: https://developers.hp.com/hp-linux-imaging-and-printing/gethplip

But I did not succeed in building it for Debian12 whatever adaptations I made on the installer
(refer to my old post where I explane how to get rid of the installer limitation with python packages under debian and how to add a new distro version to the installer, here : https://answers.launchpad.net/hplip/+question/452076)

To make my new printer OfficeJet PRO 9012e work correctly under Debian12 , (hplip 3.22 do not provide all features correctly, specially scanning recto-verso and auto selecting paper format)
And as I didn't succeed with hplip 3.23.12 under debian12 I did use he embed package 'system-config-printer' of debian 12 and 'simple-scan' package
Under system-config-printer I edit the printer after selecting it with its IP address and I did use the ppd file I get in the ppd directory of hplip 3.23.12 tarball as it driver (so it use hplip 3.23.12 ppd).

Since, the printer is working very fine (recto/verso printing, scaling, fast printing, etc...) it's nicely integrated in the Gnome Desktop (Wayland) and 'simple-scan' detect an eSCL scanner from the printer (eSCL is driverless scaning under MacOS and Linux) with the multicast hostname of my scanning printer
It perfectly scan recto-verso without need to resize all pages.
After testing the scan of an 100 recto-verso pages document using this methode, everything was perfect and no need to make change on focus or to resize pages before generating the PDF from the raw scanned image.

I think this workaround could help people who have a very recent printer that oldest hplip releases don't own the driver (or the full feature driver - ppd file)

To proceed :
sudo apt update
sudo apt install system-config-printer simple-scan wget
wget -O ./hplip-3.23.12.tar.gz https://sourceforge.net/projects/hplip/files/hplip/3.23.12/hplip-3.23.12.tar.gz/download
tar -zxf hplip-3.23.12.tar.gz

Now add printer in system-config-printer (network printer and specify it's IP address)
follow the process and when it ask to provide a ppd, you must select the ppd for your printer model from the tarball you've just extract :

Sure I prefer make the original hplip-3.23.12 driver working from HP installer or tarball but I did spend more than 1 day trying to make it work with no success but I was needed to use the printer and scanner so I find this workaround and it's working perfectly

Kind regards

Can you help with this problem?

Provide an answer of your own, or ask Denis Gottardello for more information if necessary.

To post a message you must log in.