My air print stopped working when I upgraded to IOS 17. It is a relatively new HP printer.
The printer appears for selection, when I select it, the phone searches, and then the printer disappears as a choice. This did not happen before IOS 17 upgrade