First install cups etc. then the package hplip:
Now run:
lsb/usr/hpijs/HP/HP_Color_LaserJet_CP4005-ps.ppd
Also see: http://hplipopensource.com/hplip-web/install/install/index.html
Device: AppSocket/HP JetDirect Device URI: hp:/net/HP_Color_LaserJet_CP2025n?ip=192.168.18.21 Make: HP Model: HP Color LaserJet CP4005 Postscript