Welcome to the HP support community.
Perform a power reset
- Turn on the printer, if it is not already on.
- Wait until the printer is idle and silent before you continue.
- With the printer turned on, disconnect the power cord from the rear of the printer.
- Wait at least 30 seconds.
- Plug back the power cable straight to a wall outlet and printer without any surge protector.
- Turn on the printer.
Update the printer firmware
Here are the steps:- Click here
Remove and add the printer using Airprint
Click the Apple menu, and then select System Preferences.
Depending on your operating system version, click Print & Fax, Print & Scan, or Printers & Scanners.
Click the name of your printer, click the Minus sign, and then delete the printer.
Click the Plus sign, and then click Add Printer or Scanner.
Click the Use or Print Using box, and then select AirPrint
Click Add to add the printer to the list.
Try to print.
Let me know how it goes.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Cheers.