1

Under Debian Buster, I am looking for a solution to print with CUPS but without having to provide the password each time. Under Windows, I just had to enter the credentials for the desired printer port and when printing it no longer asked for a password.

How to do the same in Debian?

For information, for the sake of traceability, each user is authenticated by an account created on the CUPS server and our printers are not directly visible. You have to go through the CUPS server redirected by the /etc/cups/client.conf file of each client with the ServerName directive and pre-populated when printed by the User directive.

3
  • Looks like this can be helpful askubuntu.com/questions/57493/… Commented Aug 28, 2021 at 9:36
  • @Sandeep that suggests removing the authentication. This question seems to presuppose the authentication and is asking how to cope with it. (But I could be wrong!) Commented Aug 28, 2021 at 10:04
  • Thank you for your answers; It's exactly that ! We need to know who prints what to avoid drifts and waste. Commented Aug 28, 2021 at 14:01

1 Answer 1

1

So I found a solution.

Printer's URI must looks like this : ipp://USER:PASSWD@CUPS_SERVER:631/printers/PRINTER

ex : ipp://lnj:[email protected]:631/printers/KONICA_MINOLTA_C280

Nota : with CUPS' default configuration, printers are available here : http://localhost:631/printers

See also this thread (in French)

So problem solved !

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.