Using a fresh install of Debion 5.0.1, I plugged in my HP LaserJet P1005
and turned it on. System-config-printer successfully installed a driver,
however it was incorrect. It installed the 'HP LaserJet p1505n
Foomatic/hpijs, hpijs 2.8.6b' driver instead of the one for the P1005.
Then once I tried to print to the printer, a pop-up came up that said
the printer could not be found and was wondering if it was plugged it.
Thus the automagic install of my printer failed.
Unfortunately, it also looks like the P1005 driver is unavailable. I
check the HPlib website and it says the printer was supported starting
2.8.2, while Debian 5.0.1 has 2.8.6b available.
http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_p1005.html