Ideally your printer advertises itself via Bonjour/Avahi/SLP or whatevs. Ideally Windows receives these adverts and connects you to your printer. One or the other gets it wrong, with monotonous regularity.
IPP is print anywhere and it sounds like its been branded "Mopria".
I ditched a thing called HPLIP at home at least five years ago which used to be the cutting edge for Linux printing on HP printers. The bloke that developed CUPS said it was a good idea and I went for it.
Now it just works - always. It sounds like Windows is catching up, finally.