Skip to content

Instantly share code, notes, and snippets.

@kourge
Created April 23, 2012 20:33
Show Gist options
  • Save kourge/2473652 to your computer and use it in GitHub Desktop.
Save kourge/2473652 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Run this script with sudo
launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist
cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.cse
cat >> /etc/cups/cupsd.conf <<EOF
# Show shared printers on the UW CSE network.
BrowseRemoteProtocols cups
BrowsePoll ipp.cs.washington.edu:631
EOF
launchctl load /System/Library/LaunchDaemons/org.cups.cupsd.plist
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment