I am ssh'd into his machine, and can only access cli, he can see what I do via tmux.
My friend is on Fedora 44, and has a HP103a printer which gets detected with lpstat:
~> lpstat -d
system default destination: HP-Laser-103-107-108
BUT, when I try to print with lp, he says the printer makes a little noise but nothing prints out.
I tried hp-setup but:
~> hp-setup -i -b usb
/usr/share/hplip/prnt/cups.py:705: SyntaxWarning: 'return' in a 'finally' block
return fax_ppd,expected_fax_ppd_name, nick
HP Linux Imaging and Printing System (ver. 3.25.8)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
^[[error: No device selected/specified or that supports this functionality.
I understand how painful printers can be, does anyone have experience with this? I haven't used a printer with Linux before but I can provide logs.
7 Comments
digdilem@lemmy.ml · 14 pts · 128d
Spoken like a professional.
anamethatisnt@sopuli.xyz · 7 pts · 128d
Found this older thread on the fedora forums
https://discussion.fedoraproject.org/t/hp-printer-stopped-printing/87174/72
If your friend has no other printer then it might be worthwhile to remove the printer if it exists, then remove ipp-usb and hplip, reboot and finally reinstall the hplip packages from dnf again.
sudo dnf remove ipp-usb
sudo dnf remove hplip
reboot
sudo dnf install hplip hplip-gui
Personally I haven't had the displeasure of touching a hp printer in a long time so my tip is based on the thread not experience.
atzanteol@sh.itjust.works · 2 pts · 128d
Does fedora use cups? Have you tried the web interface on port 631 (localhost:631)?
siliconspoke@mander.xyz · 3 pts · 128d
It does have cups installed, I'll try it in a bit. Looks like it wasn't enabled.
EDIT: what in the god damn
atzanteol@sh.itjust.works · 2 pts · 128d
That looks 'reasonably healthy' - at least the service is running. I haven't spent a lot of time debugging cups but the web interface may give a better view of what's going on.
Since you're on a remote system you can port-forward a local port to the remote host.
ssh -L 8311:localhost:631 user@remotehostwill forward "local" port 8311 to port 631 on the remote server. You can then point a web browser on your system athttp://localhost:8311/to connect to the CUPS daemon.siliconspoke@mander.xyz · 2 pts · 128d
Yeah I couldn't access it.
I'm tired boss :(
He says he'll just boot up windows if he ever needs to print anything.
MonkderVierte@lemmy.zip · 1 pts · 125d
Soo, hplip shipped a syntax error in a module?