Maybe your HP printer is simply no good any more.
But the fact that it printed a test page OK seems to distinctly contradict this.
First, disconnect the printer, turn it off and unplug it from both power and computer. Leave it that way throughout the following, until you are instructed to connect it up again by the installation software routine (or, at least, by that routine having completely ended and finished and exited etc.)
So: turn off, unplug, unplug your printer.
Go to your Windows 7 computer, to the Start button, then to Control Panel, and remove all entries for your printer, and its series
in Devices And Printers, by clicking on each icon (or entry) and deleting. (In this case, if there are any scanners shown, or any HP devices, select and then delete those, also.)
Then go to Control Panel, Programs, Programs And Features, and use Uninstall (or Change) to get rid of all programs specific to your printer.
Then, reboot your Windows 7 computer: shut it down and start it up again.
Then, go tohttp://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-79309-1&cc=us&dlc=en&lc=en&os=4062&product=3635378&sw_lang=
and click on the orange Download button and follow the download process, getting the driver onto your disk, and completing the download and then starting the driver installation program and following through the process.
If, after that, you have further problems getting the printer to work, you need to download and run this utility:http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-123407-2&cc=us&dlc=en&lc=en&os=4062&product=3635378&sw_lang=
and have it, while the printer is connected to the computer, tell you what the problem is.
After that, if the printer is indeed non-functional, look over and choose an option on this page:http://www8.hp.com/us/en/hp-information/environment/product-recycling.html
instead of just throwing it away. There are better, recycling-style, options there - including that of possibly selling your printer back to HP!
Let me know if you need any further help with this matter, in any detail.
Please rate my Answer - favorably I hope - so that I may be paid for the work I have done on your question.