Troubleshooting issues of prints by HP Printers
Why is my printer not printing even though it is connected?
The printer you plugged in to a USB hub on a system with too many peripherals to accommodate a direct connection may refuse to work that way. Shut down the printer and restart to reset on the printer end. If that is not the issue, check the connection at your wireless router and reset the router as well.