Windows cannot print even after restarting the print service

I have a HP-3900 desk-jet and recently stopped printing and even after futile attempt to connect to restart the service it stills shows a pop-up' widows cannot connect to the printer" what causes this problem? Is there a way of solving this issue because I'm stuck with my printer, Does the solution involve re-installing the operating system? I have already tried the reinstalling the divers but no success
