sudo apt-get update
sudo apt-get install hplip cups #Leave cups off if already installed.
sudo apt-get install foo2zjs #Needed by some hp printers Laserjet 2600 ,1020
hp-plugin #Some printer drivers need this extra plug-in
In a Terminal:
sudo yum install hplip
sudo yum install hplip-gui
hp-setup
Do: hp-setup -gi 192.168.1.12 if your printer is not found but on the network.