Things that could be wrong:
- printer driver
- port on your computer
- cable
- printer itself
A good approach would be:
- Disconnect printer from power, and reconnect
- Check the cable
- Use the printer troubleshooter in the Windows help.
- Read the troubleshooting tips in the printer manual or help
- Uninstall and reinstall the driver
- Possibly run diagnostics or maintenance software
- Install the printer on a different computer to see if it works there
Careful reading of the error message (I assume it's more than just 'error') might offer a clue also.
Hope this helps.
Kees
My hp printer will not print! Error message error.Would increasing my timeout settings work?And if so how much would I set them to?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic