Fixing network printer issue on OSX 10.6.8
The latest rollout of OSX 10.6.8 has an issue where it can no longer print to most network printers (over IP). To fix it you simply replace four files that cups uses and restart the service. Download the zip file below with the replacement files (from 10.6.6) and a shell script that will take care of everything for you.
Thanks to http://blog.digitechhosting.com/?p=421 for the help.
Below is the script that does the heavy lifting for you:
#!/bin/bash echo "Fixing printers!" echo "Checking your version of OSX" ver=$(system_profiler SPSoftwareDataType | grep 'Mac OS X 10.6.8') if [ -z "$ver" ] then echo "You aren't running 10.6.8!" exit fi echo "You're running: $ver" echo "Backing up files.." mkdir ~/PrinterBackup sudo cp /usr/libexec/cups/backend/dnssd ~/PrinterBackup/dnssd.bak sudo cp /usr/libexec/cups/backend/lpd ~/PrinterBackup/lpd.bak sudo cp /usr/libexec/cups/backend/ipp ~/PrinterBackup/ipp.bak sudo cp /usr/libexec/cups/backend/socket ~/PrinterBackup/socket.bak echo "Replacing 10.6.8 files with 10.6.6 files" sudo cp dnssd /usr/libexec/cups/backend/dnssd sudo cp lpd /usr/libexec/cups/backend/lpd sudo cp ipp /usr/libexec/cups/backend/ipp sudo cp socket /usr/libexec/cups/backend/socket echo "Restarting cups" sudo killall cupsd sudo cupsd echo "You should be good to go"