Cannot print to HP network printer via CUPS

I would appreciate help with solutions as to why I cannot print to a HP network Printer HP2605dn

The printer can be accessed on the network but Endeavour OS will not find or print to it.

My troubleshooting so far is as follows

I have a new Endeavour OS installation for which I included CUPS and HP printers and believe that I have followed the Endeavour OS Guide Network, Printers “discovery.endeavouros.com/printers/printers/2021/03/

The print-manager is installed, the cups service is enabled, nss-mdns is installed, the avahi-daemon service is running, the nsswitch.conf file shows the correct entry.

I have also installed hplip and running sudo hp-setup -i will not find a network printer

From the KDE System Settings, Printers, I attempt to add/set up a printer connection, and an error message is displayed “Unable to automatically discover any printing devices”

I can manually set up a printer by entering the Internet Printing Protocol address, selecting a HP 2605dn Printer and choosing the “HP-Color_LaserJet_2605dn-Postscript.ppd” driver that I have used successfully with Manjaro.

When I click on the printer that I have just added, it correctly displays the levels for each toner cartridge showing that it is communicating with the printer

When I select Print a Test Page, nothing happens

At the bottom of the Printers page, clicking on Printers/Device Admin Page opens a web page with the printer’s network address and I can access all of the printer Staus, Settings, and Network information showing that the printer is being seen on the local network

When I click on the Configure Printer Server at the top of the Printer page, it shows a CUPS Server Settings dialog and clicking on the CUPS Print Server Admin will show a web page with localhost:631/admin address

Selecting Printers Managing Printers shows the web page localhost:631/printers/? that includes the manually setup printer but with the error message

“HP2605dn HP Color LaserJet 2605 Foomatic/Postscript Processing - “The printer may not exist or is unavailable at this time.””

Is there a printer service that I am missing?

Welcome to the community @Dimitri909 :wave::smiling_face_with_sunglasses: :enos_flag:

Have you permitted mdns on your EndeavourOS system’s firewall?

It is required to enable local hostname resolution for avahi to be able to connect to your network printer, up from EndeavourOS Galileo we set up mdns to work out of the box after you changed firewall to allow mdns traffic.

Thank you. I checked the firewall settings per the web page //discovery.endeavouros.com/printers/printers/2021/03/ and believed that I had set it correctly including making it permanent.

I rebooted the computer which I had not done before just in case it needed this to be permanent

In the meantime I have a Manjaro VM and added the HP printer using the CUPS administration and found that it selected the connection as socket://(printer ip address) whereas I was attempting to use the Internet Printing Protocol (ipp) address.

I changed this to socket://(printer ip address) and it now works

As I have made 2 changes, that is changing the connection and double checking the firewall settings and rebooting, I cannot be sure which action enabled the printer, but it now works

Thank you

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.