If your HP printer won’t connect to computer, you should first check the connection between the devices.Several factors might be causing connection issues with your printer. The primary troubleshooting step is to check the printer status. If your printer is turned off, check the power cord and turn on the printer by pressing the Power button. Verify that you have connected the printer and the computer using a standard USB cable. If you have connected them wirelessly, check the Wi-Fi status. If your HP printer won’t connect to your computer even now, go through the troubleshooting steps given below.
Under the Programs tab in the Control Panel and select Uninstall a program.
Choose your HP printer's name from the displayed list and click Uninstall at the top.
Confirm your action by pressing Yes.