Cups/printers.conf cannot be edited. Itre-writes itself. Need help!

George Ross georgeaross at hotmail.com
Sun Apr 19 14:12:19 PDT 2009


>
> --Apple-Mail-2--127053923
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/plain;
> 	charset=windows-1252;
> 	format=flowed;
> 	delsp=yes
>
> Standard CUPS won't do this if you have actually stopped cupsd and it =20=
>
> is no longer running. Try:
>
>      lpadmin -p printer -o auth-info-required=3Dnone
>
> which makes the change to the running cupsd.

Mike. Thanks, I appreciate you trying to help. I have a lack of computer knowledge so please be patient.
Are you saying to use the terminal & type;
lpadmin -p printer -o auth-info-required=3Dnone
Then type in changes;
sudo /etc/init.d/cups stop
sudo gedit /etc/cups/printers.conf
Change line to #AuthInfoRequired username,password
Save/close
sudo /etc/init.d/cups start
What this did was create another printer in Printer configuration - localhost. Once it was setup to my printer it did the same; prompts for password-which there isn't one.

>
> On Apr 19, 2009, at 10:03 AM, George Ross wrote:
>
> > I have a home network. All PCs are Ubuntu 9.04. The PC with the =20
> > printer, prints fine. Up until a few days ago the other PC could use =20=
>
> > that printer via the network, too. But, apparently, an update =20
> > changed things.
> > I did a goole search & found this site that explains the problem but =20=
>
> > some have had success whereas I have not.
> > =
> http://blog.avirtualhome.com/2008/11/21/cant-print-in-evince-gedit-claws-m=
> ail/#comments
> > I=92ve had no success using=85
> > sudo /etc/init.d/cups stop
> > sudo gedit /etc/cups/printers.conf
> > Change line to #AuthInfoRequired username,password
> > Save/close
> > sudo /etc/init.d/cups start
> >
> > It rewrites itself back to AuthInfoRequired username,password
> > I also tried this, sudo vi /etc/cupsd/printers.conf but I don=92t have =
> =20
> > a cupsd folder so the terminal acts rather strange so I closed it.
> >
> > I have also posted on the ubuntuforums site;
> > http://ubuntuforums.org/showthread.php?p=3D7094796#post7094796
> > & haven't had any response!
> >
> > I'm not all that swift using the terminal to solve things but it =20
> > would seem that a program elsewhere is re-writing the printers.conf =20=
>
> > after it's been edited.
> > Please help as I'm at a loss how to fix this!
> >
> > GARoss
> > _______________________________________________
> > cups-bugs mailing list
> > cups-bugs at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups-bugs
>
> ________________________________________
> Michael R Sweet, Senior Printing System Engineer
>
>
> --Apple-Mail-2--127053923
> Content-Transfer-Encoding: quoted-printable
> Content-Type: text/html;
> 	charset=windows-1252
>
> <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
> -webkit-line-break: after-white-space; ">Standard CUPS won't do this if =
> you have actually stopped cupsd and it is no longer running. =
> Try:<div><br></div><div>&nbsp;&nbsp; &nbsp;lpadmin -p printer -o =
> auth-info-required=3Dnone</div><div><br></div><div>which makes the =
> change to the running cupsd.</div><div><br><div><div>On Apr 19, 2009, at =
> 10:03 AM, George Ross wrote:</div><br =
> class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>I =
> have a home network. All PCs are Ubuntu 9.04. The PC with the printer, =
> prints fine. Up until a few days ago the other PC could use that printer =
> via the network, too. But, apparently, an update changed things.<br>I =
> did a goole search &amp; found this site that explains the problem but =
> some have had success whereas I have not.<br><a =
> href=3D"http://blog.avirtualhome.com/2008/11/21/cant-print-in-evince-gedit=
> -claws-mail/#comments">http://blog.avirtualhome.com/2008/11/21/cant-print-=
> in-evince-gedit-claws-mail/#comments</a><br>I=92ve had no success =
> using=85<br>sudo /etc/init.d/cups stop<br>sudo gedit =
> /etc/cups/printers.conf<br>Change line to #AuthInfoRequired =
> username,password<br>Save/close<br>sudo /etc/init.d/cups start<br><br>It =
> rewrites itself back to AuthInfoRequired username,password<br>I also =
> tried this, sudo vi /etc/cupsd/printers.conf but I don=92t have a cupsd =
> folder so the terminal acts rather strange so I closed it.<br><br>I have =
> also posted on the ubuntuforums =
> site;<br>http://ubuntuforums.org/showthread.php?p=3D7094796#post7094796<br=
> >&amp; haven't had any response!<br><br>I'm not all that swift using the =
> terminal to solve things but it would seem that a program elsewhere is =
> re-writing the printers.conf after it's been edited.<br>Please help as =
> I'm at a loss how to fix =
> this!<br><br>GARoss<br>_______________________________________________<br>=
> cups-bugs mailing =
> list<br>cups-bugs at easysw.com<br>http://lists.easysw.com/mailman/listinfo/c=
> ups-bugs<br></div></blockquote></div><br><div>
> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
> color: rgb(0, 0, 0); font-family: Monaco; font-size: 12px; font-style: =
> normal; font-variant: normal; font-weight: normal; letter-spacing: =
> normal; line-height: normal; orphans: 2; text-align: auto; text-indent: =
> 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
> 0px; -webkit-border-horizontal-spacing: 0px; =
> -webkit-border-vertical-spacing: 0px; =
> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
> auto; -webkit-text-stroke-width: 0px; "><span class=3D"Apple-style-span" =
> style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
> Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
> font-weight: normal; letter-spacing: normal; line-height: normal; =
> orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; =
> widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
> -webkit-border-vertical-spacing: 0px; =
> -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
> auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: =
> break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
> after-white-space; =
> "><div><div>________________________________________</div><div>Michael R =
> Sweet, Senior Printing System Engineer</div></div></div></span></span>
> </div>
> <br></div></body></html>=
>
> --Apple-Mail-2--127053923--
>





More information about the cups-devel mailing list