Home > Tech > Fixing network printer issue on OSX 10.6.8

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.

http://zomgdinosaurs.com/printer_fix.zip

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"

About these ads
  1. Corry
    July 6, 2011 at 10:26 am

    what do you do with the script?

    • July 6, 2011 at 10:15 pm
      1. Unzip the file.
      2. Run terminal.app
      3. Go to the directory you unzipped the files to
      4. type: ./fixPrinter.sh
  2. July 7, 2011 at 11:30 am

    Thanks a ton… this saved my day.

  3. July 12, 2011 at 9:12 pm

    Unzip which file?

  4. Phil.
    July 13, 2011 at 3:15 am

    Brilliant – thank you very much indeed for your help/tips.

  5. Barbra
    July 21, 2011 at 10:42 am

    Brian,

    This script worked perfectly! Thank you for posting it. We came across this issue last week, and I had been looking around online to find a solution. I found the forum where the fix was posted, but it seemed a little confusing the way it was written. I came across your website in that same forum, along with the post recommending to use your script! You just saved me a lot of time!!!!! Thank you!

    Barbra

  6. Barbra
    July 21, 2011 at 10:43 am

    BTW – the link at the top of the page doesn’t work. It gives an error of “Sorry, no posts match your criteria”. I was able to grab the file from the other link you provided.

    • July 21, 2011 at 2:22 pm

      I fixed the link, thanks for catching that! Out of curiosity, what forum was this on?

      • Barbra
        July 21, 2011 at 3:10 pm

        The forum I found your original script on was http://blog.digitechhosting.com/?p=421 If you read further down, comment #5 by Jacob is the one where your website was recommended.

  7. Jordan
    September 9, 2011 at 9:14 am

    Brian,

    Its my first time using Terminal to run a script. Could you please provide more of a step by step set of instructions for a new guy?

    • September 10, 2011 at 5:55 pm

      1) Double click the zip file in Finder and it will create a directory with 5 files including the script.
      2) Then open Terminal (Applications -> Utilities)
      3) Drag and drop the script (fixPrinter.sh) into the Terminal.
      4) Hit enter
      5) You’re done!

  8. September 9, 2011 at 12:19 pm

    I don’t mean to sound unintellegent, but I am new to the mac. I have this issue as well with a konica minolta printer/copier. I downloaded the file, opened terminal, went to where I downloaded the file (it looks unzipped already fixPrinter.sh) now what do I do? Do I cut and paste the script somewhere?? Please help if you can. Thanks Larry larry@firstalliancechurch.net

    • September 10, 2011 at 5:55 pm

      Larry please see my response above to Jordan.

  9. Dave
    January 6, 2012 at 7:55 am

    I have tried this and did it all ok but the printer still keeps pausing when i send a file. Any ideas would be greatly appreciated. using a xerox 700 digital colour press.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: