Open a terminal, login as a root and type:
# su
# apt-get install cups hplip
# usermod -a -G lpadmin YOURUSERNAME
# cd /
# /etc/init.d/cups start
Then go to http://localhost:631/
* Administration
* Add printer
* ... and follow the tutorial step by step.
Examples:
SCANNER:
Open a terminal, login as a root and type:
# apt-get install simple-scan
# exit
Then go to Applications > Graphics > Simple Scan
Examples:
That's all. Happy printing and scanning!
Tuxkernel...
NOTE: This process is the same for HP Photosmart C4280