Skip to content

Instantly share code, notes, and snippets.

@onecooltaco
Created November 8, 2011 19:43
Show Gist options
  • Save onecooltaco/1348900 to your computer and use it in GitHub Desktop.
Save onecooltaco/1348900 to your computer and use it in GitHub Desktop.
OS X reset CUPS
# 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
@c00kiemon5ter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment