Thursday, May 2, 2024
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 24888  / 3 Years ago, tue, august 3, 2021, 7:27:21

At my work, I print through a print server.



My /etc/cups.d/client.conf file is:



ServerName the.appropriate.server.location


With this configuration I have to log in with a username and a password every time I have to print (and even twice each time, the first time to get the printer settings, and the second time to effectively print).



I precise that I am usually printing via Evince (since I print PDF files and Evince is my favorite PDF viewer).




  • How can I avoid logging in twice?

  • Is it possible not to have to log in, even once, at each printing?


More From » authentication

 Answers
1

To get rid of the "Authentication Required to Print" dialog this is done by directly editing the file, /etc/cups/printers.conf as follows:




  1. Open a terminal window:

  2. Stop the cups server:
    sudo service cups stop

  3. Edit the printers.conf file.



sudo gedit /etc/cups/printers.conf



Near the top of file /etc/cups/printers.conf is a line:



AuthInfoRequired username,password



Insert a "#" char in the first column (or, just delete the line):



#AuthInfoRequired username,password




  1. Save edited file

  2. Restart cups server:



sudo service cups start



This should fix the problem.



Reference


[#43823] Tuesday, August 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
teromato

Total Points: 139
Total Questions: 102
Total Answers: 100

Location: Liechtenstein
Member since Mon, May 15, 2023
1 Year ago
;