Have you tried printing different types of documents like PDF, Word, or Webpages and check if the issue persists?
Restart the wireless router, the printer, and the MAC
Update the printer firmware
Go to Setup > Tools > Update the printer
Click here to know different methods of updating printer firmware.
Also, check for any software updates on MAC
Click the Apple icon > About This Mac > Software Update and install any available update.
On the MAC, go to System preferences > printers and scanners > open print queue and check if the printer is paused. Resume the printer.
Also, delete the print jobs if any.
Make sure the printer and the MAC are connected to the same wireless network.
This printer supports only 2.4GHz network. So, the MAC should be on the 2.4GHz network.
If you have a Dual-band router and both 2.4GHz and 5GHz networks share the same name/SSID, the printer will not be able to connect to the network. In this case, contact your Internet service provider to assign different names to both the networks.
Try printing. If the issue persists, reinstall the printer using AirPrint driver as shown in step 2 of this document.
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!
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".