Sunday, January 1, 2023

Scanning from an HP All In One printer without HPLIP

My old HP Deskjet 3050 j610 doesn't need the HP Linux Imaging and Printing (HPLIP) package to print, just printer-driver-hpcups, but I've never been able to get it to scan without HPLIP. I wondered if it was possible get scanner support without installing the HPLIP package. Indeed it is.

The SANE backend libraries are in libsane-hpaio, which can be installed without installing HPLIP by doing

# apt install --no-install-recommends libsane-hpaio

Debian Wiki.

To scan over the network, it's necessary to supply the URI of the scanner, in my case, like this

$ simple-scan hpaio:/net/deskjet_3050_j610_series?ip=192.168.2.101

Debian Wiki.

To get Document Scanner (simple-scan) to find the scanner when launched from the XFCE menu, I appended the URI to the launcher.

And scanning now works without HPLIP.

This method applies to all HPAIO printers, although some may need a plugin. The Debian Wiki describes how to install this if needed.

This is of course an old printer. More modern HPAIOs support driverless scanning and should be detected automatically without needing HPLIP or any of its dependencies.

Debian Wiki.



No comments:

Post a Comment