1

I upgraded to 20.04, and cannot print to my HP 4520.

I have used the hp-setup tool, and the printer has been found on the LAN, but the setup tool hangs on step 3.

I have looked for detailed instructions, but have not found them so far.

Is there a troubleshooting flowchart?

1 Answers1

1

I have an ENVY 4520; HPLIP is superfluous. Get a URI with driverless and substitute in lpadmin -p envy4520 -v URI -E -m everywhereto set up a print queue. See here

brian_p
  • 836
  • I haven't mastered comment markdown. Aopologies. – dagmarPrime Nov 29 '20 at 17:53
  • $ driverless #### – dagmarPrime Nov 29 '20 at 17:55
  • ipp://HP%20ENVY%204520%20series%20%5B07822E%5D._ipp._tcp.local/ – dagmarPrime Nov 29 '20 at 17:56
  • $ lpadmin -p envy4520 -v ipp://HP%20ENVY%204520%20series%20%5B07822E%5D._ipp._tcp.local/ -E -m everywhere – dagmarPrime Nov 29 '20 at 17:56
  • 1
    lpadmin: Unable to connect to "HPC8D3FF07822E.local:631": Name or service not known – dagmarPrime Nov 29 '20 at 17:57
  • But if I look around $ ippfind ipp://HPC8D3FF07822E.local:631/ipp/print – dagmarPrime Nov 29 '20 at 17:58
  • BTW, I am able to print from my laptop to the same printer, via wirelsss, also on Ubuntu 20.04. What settings could I compare? – dagmarPrime Nov 29 '20 at 18:00
  • 1
    "Name or service not known" is a failure to lookup the IP address. This is a network issue, not a printing issue. You could try ipp://IP_ADDRESS/ipp/print for the URI. – brian_p Nov 29 '20 at 18:43
  • Yeah I similarly got lpadmin: Unable to connect to "HP98E7F4976B22.local:631": Name or service not known. So then I used lpadmin -p envy4520 -v ipp://IP_ADDRESS_HERE/ipp/print -E -m everywhere, replacing "IP_ADDRESS_HERE" with the IP address I found on the printer's on-screen menu. And now printing wirelessly from Ubuntu 20.04 works. Thanks!! – Ryan Aug 31 '21 at 22:33