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.

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 day ago

    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@remotehost will forward “local” port 8311 to port 631 on the remote server. You can then point a web browser on your system at http://localhost:8311/ to connect to the CUPS daemon.

    • siliconspoke@mander.xyzOP
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      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.