Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606368 - net-print/hplip-3.16.11-r3[hpcups,minimal] is not able to print on many postscript printers
Summary: net-print/hplip-3.16.11-r3[hpcups,minimal] is not able to print on many posts...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-18 13:11 UTC by Steffen Hau
Modified: 2017-10-27 08:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Hau 2017-01-18 13:11:53 UTC
At work we have a HP LaserJet 400 M401dne printer which I cannot print on: "File "/usr/libexec/cups/filter/hpps" not available: No such file or directory". The same would apply to HP Color LaserJet cp4520, but hplip ships is a pcl3 ppd for that printer.

I reported the issue on https://bugs.launchpad.net/hplip/+bug/1453104 but reaction in the past 1.5 years. As I do not want nor need "-minimal", is there any other way to get that missing file installed without having to install the rest of hplip and its dependencies?
Comment 1 Daniel Pielmeier gentoo-dev 2017-01-18 18:32:12 UTC
(In reply to Steffen Hau from comment #0)
> At work we have a HP LaserJet 400 M401dne printer which I cannot print on:
> "File "/usr/libexec/cups/filter/hpps" not available: No such file or
> directory". The same would apply to HP Color LaserJet cp4520, but hplip
> ships is a pcl3 ppd for that printer.
> 
> I reported the issue on https://bugs.launchpad.net/hplip/+bug/1453104 but
> reaction in the past 1.5 years. As I do not want nor need "-minimal", is
> there any other way to get that missing file installed without having to
> install the rest of hplip and its dependencies?

USE="minimal" unfortunately installs only the drivers without filters. As far as I know there is no option to install the hpps filter with USE="minimal".

You also have to take care to set USE="-hpijs hpcups" because if both are set hpjis is preferred. This is strange on it's own as hpijs is kind of deprecated.

USE="hpcups -X -minimal hpijs -policykit -qt5 -scanner -snmp" should give you an almost minimal build at least dependency wise. This way you have to live with python dbus libusb dbus-python pygobject udev as additional dependencies compared to USE="minimal".

Have you tried if saving the hpps python script from a full install and manually placing it in a minimal install makes printing work? This way we would know if installing the hpps script with USE="minimal" actually works. This way you have at least a workaround.

Nevertheless I would prefer an upstream solution if this is actually possible.
Comment 2 Steffen Hau 2017-10-27 08:54:04 UTC
According to https://developers.hp.com/hp-linux-imaging-and-printing/release_notes hplip-3.17.7 came with a reimplementation of hpps which is installed by default.