AirPrint works fine for me on 17.2.1, albeit under one condition.
It will work fine with native Apple apps. AirPrint via third parties apps really depend if the developers had followed the guidelines set out by Apple.
The issue you are experiencing is not uncommon. It happens on certain iOS apps, for example, WhatsApp in its recent versions (even the latest). Have you tried AirPrint in the Notes app? If it prints normally, then AirPrint itself is fine. What apps were you testing AirPrint on?
This is what I have been experiencing with WhatsApp for a long time:
1) If you receive an image in WhatsApp, airprint it and you will get a blank page. Even if you save the image onto your iPhone and try to AirPrint the image from the Photos app, you will get a blank page. Images in the Photos app not imported via WhatsApp will AirPrint fine. Photos you take with the native camera app etc yes they will AirPrint ok too. This is really silly. I was dumbfounded! I did a screenshot on my phone, WhatsApp it to my wife and had her forward the same image back to me. I imported the image back to the Photos app. The original screenshot airprinted fine but not the one from whatsapp. There must be some issues with the metadata in the images imported from WhatsApp that were either missing/omitted that caused the blank pages, because older versions of WhatsApp were working fine.
2) if you airprint a document (pdf) from WhatsApp, it will print fine.