Welcome to Bleepingcomputer!
Here is what you can do.
Go to this HP web site listed below.
Click the drop down menu for the operating system you have. (Since you did not provide that information, I can not provide the correct driver package link for you)
Once you have chosen the proper operating system, click the blue next button.
Download the entire driver and software package to your desktop and sit back, the download usually takes a while because it is the full installation package.http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?product=4160071&lc=en&cc=us&dlc=en&submit.y=11&submit.x=9&lang=en&cc=us
If you need to, remove your printer software and any drivers that are on your system.
Do not let Windows detect your printer hardware or offer to install drivers for it, decline the offer.
Double click the installation file you downloaded from HP's web site and let it install the entire printer software and driver packages.
This should correct your problem.
If it does not, then you have a problem with a cable running to the printer.
If it is a printer to USB cable connection, your USB ports might be getting turned off by windows power saving options.
You can turn this feature off by going to control panel
then device manager
and looking for universal serial bus controllers.
Expand this and look for USB root hub
, right click each one you see and choose properties
then look for the power management tab
, then un-check allow windows to turn off this device to save power
Do this for each USB ROOT HUB entry you see under universal serial bus controllers.
Please keep us posted.
If you are having problems, please post your operating system and I will try to offer more concise directions for you to follow.
Edited for more clairity~
Edited by MrBruce1959, 08 March 2011 - 12:04 AM.