HP printers are absolutely awful now in terms of their PITA setup, obtuse smart setup exe’s instead of drivers, stupid drm or subscription lock stuff like this. We do not supply or recommend them any more (IT company).
I've had good experiences with Canon's business-grade laser multifunction units (scanner/copier/printer). Everything is configurable via a web UI (no client-side software needed) and worked fine with Linux/CUPS. Since it's a laser, toner doesn't dry out and lasts a significant amount of time.
I actually have worked for HP (well one of their spinoffs) for 25 years and ditched them in favour of Brother laser printers. I and 2 of my children have the B&W MFC-L2750DW and I bought the L3750CDW color one for my Mother-in-law. They have all been great and work fine with 3rd party cartridges.
My brother dcp-1512 laser printer/scanner is a tank and was cheaper than buying the ink for the hp inkjet it replaced. Toner costs $15 and I’ve only gone through two cartridges during the printers lifetime (6 years and counting). It works well with Linux although it has no wireless - I hooked it up to an old laptop to share the printer.
I went with a brother black&white laser printer a couple years ago, and never had any issue while using aftermarket toners etc. Also, the setup under Linux using CUPS was pretty straightforward.
I got one of those Epson ink tank printers which is pretty nice. Because it doesn't have (much of) a razors and blades ink model, you have to pay a significant amount of money up front however.