Benches macOS

9

How do I reset print system from terminal

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

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"

9 replies

Sign in or join Beachball Help to reply.

  1. 0

    PAHU

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    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

  2. 0

    PAHU

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    K T wrote:

    In System Preferences/Print & Fax, if you right-click in the left 'Printers' window, a reset dialog should pop up....did you try this?

    He said that he cannot open Print & Fax...

  3. 0

    kisuke3

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I am glad I can be of help. Please help us close this post as this has been resolved.

  4. 0

    K T

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    In System Preferences/Print & Fax, if you right-click in the left 'Printers' window, a reset dialog should pop up....did you try this?

    As well, did you try simply restarting the computer?

  5. 0

    Ben Harris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yup, as soon as I click Print and Fax , system prefs crashes.

  6. 0

    Ben Harris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks so much for your reply. Tried the http://127.0.0.1:631/admin link but the page will not load. I just get the spinning wheel in the Safari tab.

  7. 0

    Ben Harris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yes, I have restarted several times.

  8. 0

    kisuke3

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.old

    sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf

    try the above commands.

    Message was edited by: kisuke3

  9. 0

    Ben Harris

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Back to normal!

    THANK YOU!!!!!