Restart router, printer, and computer to resolve the connectivity issues-
Turn the printer off, and then wait 10 seconds.
Disconnect the printer power cord from the printer.
Turn off the computer or the device you are trying to print from.
Connect the printer power cord to the printer, and then turn on the printer.
Disconnect the power cord from your wireless router, and then wait 10 seconds.
Reconnect the power cord to the router. Wait until Internet service is restored. Internet service is interrupted while the router is off.
Turn on the computer.
Add the AirPrint printer to the Mac printer queue
Confirm you are using AirPrint by adding the printer in System Preferences.
Click the Apple menu, click System Preferences, and then click Print & Scan or Printers & Scanners.
Figure : Example of the Printers & Scanners window
Check if your printer name displays in the Printers list, and then do one of the following steps.
If your printer is listed, remove and re-add the printer to confirm it is set up for AirPrint. Click the printer name, click the minus sign to delete the printer, click the plus sign , click Add Printer or Scanner, click the printer name and then continue to the next step.
If your printer is not listed, click the plus sign, click Add Printer or Scanner, click the name of your printer, and then continue to the next step.
If your printer is not listed in the Add Printer or Scanner window, go to the Frequently asked questions in this document to resolve connection issues, try to add the printer again, and then continue to the next step.
Confirm AirPrint or Secure AirPrint displays in the Use or Print Using menu, and then click Add.
Figure : AirPrint displays in the Use menu
Open a document or photo, click File, and then click Print.
Hope this helps! Keep me posted.
And, Welcome to the HP Support Community.
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
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".