Hi,
1.What exactly happens when you connect the printer to the computer?
2.Do you get any error code or message?
3.Did you make any changes to the computer recently?
4.Do you have a wired printer or a wireless printer?
5.What is the make and model of the computer?
Method 1.
Plug in the printer to another computer and check if the printer works fine.
Plug in another usb printer and check if that printer works fine on this computer.
Method 2.
Follow the steps from these articles and check if that helps.
Printer problems in Windows:
http://windows.microsoft.com/en-US/windows/help/printer-problems-in-windows
Why can't I print? :
http://windows.microsoft.com/en-US/windows7/Why-cant-I-print
Install a printer:
http://windows.microsoft.com/is-IS/windows7/Install-a-printer
Find and install printer drivers in Windows 7:
http://windows.microsoft.com/is-IS/windows7/Find-and-install-printer-drivers
Hope this helps.