Re: hplip-printer-app hangs and oddities (Re: Cups automatic duplex printing problems)
Michael Sweet <[email protected]> Fri, 2 Feb 2024 10:02:43 -0500
| Newsgroups | dev.linux.lists.printing-users |
|---|---|
| Message-ID | <[email protected]> |
Valentijn,
This sounds like a bug in that printer application - please do file an =
issue here:
https://github.com/OpenPrinting/hplip-printer-app/issues
You can also try the "hp-printer-app" snap with that printer. It will =
just send PCL to your printer but has fewer moving parts so it should be =
more reliable. I'm in the process of updating the snap for updated =
dependencies but have no pending issues that would affect your =
printer...
> On Feb 1, 2024, at 5:35=E2=80=AFPM, Valentijn Sessink =
<[email protected]> wrote:
>=20
> Hi list,
>=20
> Dougs mention of the Snap repo helped somewhat but also broke somewhat =
more.
>=20
> - I tried using the Snap backend, which seemed to help, a 2 sided =
print comes out 2 sided and a 2 copy 2 sided print comes out in 2 =
copies. (Or that is what I guessed from the remote printer display that =
tells me that the latter had 4 sides and printed out on 2 sheets of =
paper.) So far, so good.
>=20
> - However. This makes things worse for my personal, unfortunately =
unbreakable, HP Laserjet 2055DN. I have installed the snap =
hplip-printer-app (edge) and added the printer, but it's printing raw =
Postscript every other time (%%@PJL ENTER LANGUAGE =3D Postscript =
%!PS-Adobe-3.0 %%LanguageLevel: 2).
>=20
> Trying to use the pcl3 variant seems somewhat better but I've seen the =
weirdest messages in the logs. I even saw a =
"hplip-printer-app.hplip-printer-app-server[57930]: Segmentation fault =
(core dumped)" when I tried to remove a printer - maybe too soon, I'm =
not sure.
>=20
> Also, removing jobs sometimes makes hplip-printer-app hang, i.e. =
become totally non responsive; I've seen "hp[48675]: io/hpmud/jd.c 632: =
timeout write_channel hp:/net/HP_LaserJet_P2055dn?ip=3D172.17.2.55" that =
I don't understand and cannot get rid of, the Snap doesn't properly =
restart in these situations =
("snap.hplip-printer-app.hplip-printer-app-server.service: Killing =
process 54142 (hplip-printer-a) with signal SIGKILL.", "Failed with =
result 'timeout'" and "Unit process 54133 (hplip-printer-a) remains =
running after unit stopped."
>=20
> I've also seen Evince snap hanging during getting printer information, =
but I'm not in the mood to yet have to debug _another_ printing problem.
>=20
>=20
> Anyway, I'm guessing: the old way of printing doesn't work anymore for =
new printers but the new way of printing doesn't work for older printers =
yet? What should I do if I need the best of both worlds?
>=20
>=20
> (Also: using the snap printing system makes Libreoffice forget all =
printers unless Libreoffice is a snap as well, but thats _even_ lower on =
the todo list than the Evince problem - and probably even off topic =
here, too).
>=20
> Best regards,
>=20
> Valentijn
>=20
> On 31-01-2024 12:38, Douglas Kosovic wrote:
>> Hi Valentijn,
> [...]
>> You could then try the official OpenPrinting Snap of CUPS for a much =
newer version of CUPS that has many bug fixes:
>> https://snapcraft.io/install/cups/ubuntu
>> I believe Ubuntu will be moving to the CUPS Snap for its printing =
system in a future release
> --=20
> Durgerdamstraat 29, 1507 JL Zaandam; telefoon 075-7100071
>=20
________________________
Michael Sweet