Did u using any other HP printer with ur system.
If no, goto HD/library/printers/hp, trash it and clear trash [copy the folder(for future use)]. after perform restart . then install the new driver and restart again. check the printer is connected.Perhaps tis can solve ur problem. Some of the drivers fails to complete install, if older version driver files in driver folder.