Lots of people can’t get AirPrint to work when they are running the latest macOS version of Sonoma and the latest version of iOS on their iPhones.
I was one of them, but I solved the problem by changing one setting on my 24" M1 iMac.
That setting is the macOS setting for Printer Sharing. Once I turned it off, I could AirPrint from my iPhone 12 to my Epson ET-2650.
This worked even with my iMac and iPhone VPNs turned on.
Here is the step-by-step:
- On the Mac, go to System Settings/Appearance/Accessories & Internet/Sharing/Printer Sharing and turn OFF the slider.
- On the iPhone, in my example printing a note in the iOS Notes app, from the note you want to print, tap the Share Icon, tap Print, and for the Printer, select the printer that does NOT have Mac or iMac in small print below the name of the printer. In my case, I selected “EPSON ET-2650 Series” (not the other two printers in the Recent Printers list.)
Before I figured this out, I tried the directions in several reputable Apple-oriented website articles, but couldn’t make it work.
Now, it works perfectly. By the way, I use Printopia with Sharing turned on. Printopia contained the instruction: “macOS built-in printer sharing is active. Disable it if not required.” Once I turned it off, I could use AirPrint.