How to Install hplip binary plugins

I’ve adapted the AUR PKGBUILD for hplip-plugin to install the hplip binary plugins on Clear Linux. This is required for a number of HP’s printers - especially the LaserJet series.

See https://developers.hp.com/hp-linux-imaging-and-printing/binary_plugin.html for more information.

You can see/get the script here: https://github.com/pceiley/scripts/blob/master/clearlinux/install_hplip_plugin.sh

4 Likes

I see:

install -m644 plugin.spec                  "/usr/share/hplip/"
install -m644 hp_laserjet_*.fw.gz          "/usr/share/hplip/data/firmware/"
install -m755 fax_marvell-"$_arch".so      "/usr/share/hplip/fax/plugins/"
install -m755 hbpl1-"$_arch".so            "/usr/share/hplip/prnt/plugins/"
install -m755 lj-"$_arch".so               "/usr/share/hplip/prnt/plugins/"
install -m755 bb_*-"$_arch".so             "/usr/share/hplip/scan/plugins/"

We should really get this stuff to go into /usr/local and /etc/ instead.

1 Like

Agreed. But I believe hplip relies on the files being at these locations…

The hplip core is open source, though, so, it can be modified to scan other folders for plugins.