My 2017 iMac is unable to print! But my old Mac Mini prints just fine! Any insights?
HP asked Apple to disable the HP software last Friday and then re-enable it.  You can change the driver to AirPrint and know it you need to apply updates and reinstall your print drivers if that works.
See my answer here for how to manually install a fix if you don’t want to let Apple software updates fix your HP.

HP Easy Scan - &quot;HP Scanner 3&quot; will damage your computer
https://ftp.hp.com/pub/softlib/software12/HP_Quick_Start/osx/Installations/Essentials/hp-printer-essentials-S-5_14_8_4.pkg