A little party trick -- depending on the printer, you might be able to get an "in line" power tap/Y splitter for the power cord to run the Pi and the printer off the same outlet. (My printer takes a normal C14, so I just split and slapped a USB brick on the other end.)
https://www.balena.io/blog//wifi-enable-usb-printers-with-a-...
The article says the formats need to include ‘image/urf’, which afaik wasn’t true in 2017, and there may be other salient differences these days. We subsequently moved to a newer printer w/built-in AirPrint.
Definitely made it ambiguous for me, at first glance.