Created
November 8, 2011 19:43
-
-
Save onecooltaco/1348900 to your computer and use it in GitHub Desktop.
OS X reset CUPS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stop the CUPS daemon with the following command. | |
launchctl stop org.cups.cupsd | |
wait | |
# Rename the old CUPS configuration file. | |
mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf.backup | |
wait | |
# Restore the default settings file. | |
cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf | |
wait | |
# Rename printers file. | |
mv /etc/cups/printers.conf /etc/cups/printers.conf.backup | |
wait | |
# Restart CUPS. | |
launchctl start org.cups.cupsd | |
wait | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let me note that those commands may need
sudo
.Here is a related post from jamf.com
Here is a link to cupsd.conf man page