How do I reset print system from terminal

I was having trouble seeing my desktop's shared printer from my laptop, so I ran the following in the terminal:

cupsctl BrowseProtocols='"cups dnssd"'

Now any app that so much as thinks about printing crashes, including the system preferences. I am totally hosed here. How can I undo this? I can't get to any printer dialog to "reset the print system"

MB Pro3,1, Mac OS X (10.6.2)

Posted on Dec 21, 2009 10:04 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 21, 2009 10:44 PM

AFAIK, there is no Terminal command to reset the printing system. This question was asked a while ago for Leopard and this was the answer then - don't know if this has changed for SL. The CUPS man pages would suggest it hasn't...

But there is now the ability to reset the cups daemon configuration file via the CUPS web page. Using your browser, open the CUPS Admin page

http://127.0.0.1:631/admin

Here you will see the button 'Edit Configuration File'. Click this and you will see the cupsd.conf entries. Looking through this file shows that network shared printers are browsed using "BrowseLocalProtocols CUPS dnssd", the same as you tried to enter with the other command which could be only for 10.5?

Anyway, here you will also see the button 'Use Default Configuration File'. Click this and then click Save Changes. This will prompt for your admin username and password. Enter these and OK. Hopefully this gets you back the ability to access Print & Fax and to print again.

Pahu

Message was edited by: PAHU
9 replies
Question marked as Top-ranking reply

Dec 21, 2009 10:44 PM in response to Ben Harris

AFAIK, there is no Terminal command to reset the printing system. This question was asked a while ago for Leopard and this was the answer then - don't know if this has changed for SL. The CUPS man pages would suggest it hasn't...

But there is now the ability to reset the cups daemon configuration file via the CUPS web page. Using your browser, open the CUPS Admin page

http://127.0.0.1:631/admin

Here you will see the button 'Edit Configuration File'. Click this and you will see the cupsd.conf entries. Looking through this file shows that network shared printers are browsed using "BrowseLocalProtocols CUPS dnssd", the same as you tried to enter with the other command which could be only for 10.5?

Anyway, here you will also see the button 'Use Default Configuration File'. Click this and then click Save Changes. This will prompt for your admin username and password. Enter these and OK. Hopefully this gets you back the ability to access Print & Fax and to print again.

Pahu

Message was edited by: PAHU

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I reset print system from terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.