Issue getting CUPS client in Xubuntu 24.04 to successfully be able to send print jobs to CUPS server

Seems that CUPS in Xubuntu 24.04, new printers on CUPS servers being added get added assuming:
AuthInfoRequired username,password
in the entry created in CUPS printers.conf file

Older printer queues I set up while on Xubuntu 20.04 got created with entry:
AuthInfoRequired none
in the entry created in CUPS printers.conf file

As result, print jobs created to newly added printers (created by Xubuntu 24.04) get stuck on the Xubuntu workstation in state: “Held for Authentication”

The Xubuntu CUPS printers.conf file seems to be auto-genreated from some other master source. I have stopped CUPS, edited the printers.conf file to change the new printer from AuthInfoRequired username,password to AuthInfoRequired none, but when I restart CUPS tasks, the value in printers.conf flips right back to AuthInfoRequired username,password.

I need a solution to be able to set up workstation CUPS printers on Xubuntu 24.04 that are configured AuthInfoRequired none just like I had been doing while on prior releases.

My needed print path is as follows:

Xubuntu CUPS client → ipp:// → Ubuntu Server CUPS → ipp:// → HP JetDirect connected printer

Impact only appears to be new Xubuntu printer connection set up while on 24.04. Printers set up during prior versions of Xubuntu are fine, work as expected.

Welcome to Ubuntu Discourse :slight_smile:

Post moved to Support and Help.

Please note that the Project Discussion category is for discussions and not technical support.

Thanks

rubi1200, thank you for the http 301 redirect. I was used to the former Ubuntu Forums interface.

Today I thought to set up on the same Ubuntu server the CUPS PDF print driver.

I already had it on my own workstation. I added it to my test server. I do not usually set up the CUPS PDF driver on Ubuntu servers… so I was not sure how it would work out.

Once it was added and I had done my standard default parameter customization of the package, I then changed the driver on the server to shared.

Then connected to it directly from my Xubuntu 24.04 system and like magic a PDF file was on the server under my account’s home directory in the PDF subdirectory!

Now, this is NOT funny!!! On my Xubuntu 24.04 system, inside /etc/cups/printers.conf file I find:

Note, for the HP LaserJet, on its own it has put:

AuthInfoRequired username,password

But for this new CUPS PDF driver I just installed this evening it has put:

AuthInfoRequired none

How do I get Xubuntu 24.04 to put the latter for the former real HP printer?

BOTH are the same Xubuntu 24.04 Linux client / BOTH are the same test Ubuntu Linux server. Why does something insist on requiring authorization to print to a HP LaserJet?

This topic was automatically closed after 29 days. New replies are no longer allowed.