Is the linux printing experience still miserable these days? I've wasted whole days fussing with CUPS as recently as a decade ago, I think. Younger me found this fun, current me finds that a rather aggravating and unfilfilling exercise.
In both cases the printers support IPP (the Internet Printing Protocol) and are advertised on the LAN, either natively at home or through a print server at work.
I've never digged much into this, but I believe the combination of zeroconf (for the printers discovery) and IPP are the key elements for CUPS to provide this seamless support. The printers just show up in the my KDE settings, and their settings are exposed in a reasonable way through configuration dialogs. The ink or toner levels are even visible.
This is on Debian stable, so I would assume most distros are at this level now.