Welcome to the HP Support Community. I'd be happy to assist you
Due to the current global COVID-19 situation, we're seeing an influx of customers coming in for support. We appreciate your patience.
Use these tips and procedures to help troubleshoot and avoid USB connectivity issues.
Restart the printer and the computer: Restarting the computer and the printer can clear possible error conditions.
Reconnect the cable: Disconnect and reconnect the USB cable from the printer and the computer.
Connect to a different USB port: Connect the cable to a different USB port on the computer.
Disconnect from a USB hub or docking station: If you are using a USB hub or docking station, try connecting the cable directly to the computer.
Try a different USB cable: Use a different USB cable. HP supports USB cables less than 3 m (9 ft 10 in) in length.
Disconnect other USB devices: If you have several USB-connected devices, such as another printer, the computer might not have sufficient power supplied to the USB ports to detect all of them. Disconnect any other USB devices that are not in use.
Try and Add the AirPrint printer to the Mac printer queue
1.) Click the Apple menu, click System Preferences, and then click Print & Scan or Printers & Scanners.
2.) Check if your printer name displays in the Printers list, If your printer is listed, click the printer name, click the minus sign to delete the printer.
3.) If you see multiple printer queues for the same printer, remove all extra printers by selecting them one at a time, and then clicking the minus button at the bottom of the list.
4.) Click the plus sign click Add Printer or Scanner, click the printer name.
NOTE: Make sure that the printer Kind is Bonjour or Bonjour Multifunction, or USB.
5.) Click the Use or Print Using menu, select AirPrint in the pop-up menu. Then click Add. Select AirPrint from the Use menu
6.) Try to print.
Hope this helps! Keep me posted.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!