That problem plagues every OS. Fortunately, my 14 year old canon networked printer/scanner/fax works in fedora 42 without any configuration at all. As long as it sees it on the network. Scans too! I was surprised about the scanning lol.
The brother wifi laser printer I have works on everything without any installation at all. Windows, mac, linux, my phones.