Do you have a VPN on your computer? I have a VPN installed (Proton - free version) and my computer cannot find my printer - its literally 6' away from it.
But once I disconnect my VPN, my computer sees my printer perfectly and I can print. So, I print, then, turn the VPN back on again.