After installing version 1.2 of HP's DeskJet drivers for Mac OS X, I noticed that I was not able to select my DesktJet 842c printer from the Print Center application; I would receive an "unknown error" -108 after attemping to do so. I discovered that the problem was with the file permissions on files within the Print Center.app package; the HP DeskJet installer had stupidly changed them without telling me.
If you're affected by this glitch, read the rest of the article for the solution...
A directory listing from the terminal of the affected files SHOULD be as follows:
-rwxr-sr-x 1 root daemon 384364 Oct 29 23:41 Print CenterConsequently, anyone who has encountered an error -108 upon trying to add his or her printer to Print Center should execute the following commands in the Terminal:
-r-sr-xr-- 1 root daemon 39012 Oct 29 23:40 PrintingReset
cd "/Applications/Utilities/Print Center.app/Contents/MacOS"[Editor's note: I don't have an HP printer to test this with, so I can't say whether it works or not...looks pretty straightforward, though!]
sudo chown root:daemon "Print Center"
sudo chown root:daemon PrintingReset
sudo chmod u=rwx,g=rsx,o=rx "Print Center"
sudo chmod u=rsx,g=rx,o=r PrintingReset
Mac OS X Hints
http://hints.macworld.com/article.php?story=20011103221438198