Fix 'Error -108' after installing HP drivers

Nov 03, '01 10:14:38PM

Contributed by: scrod

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 Center
-r-sr-xr-- 1 root daemon 39012 Oct 29 23:40 PrintingReset
Consequently, 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:
cd "/Applications/Utilities/Print Center.app/Contents/MacOS"
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
[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!]

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20011103221438198