Making an old USB printer support Apple AirPrint with a Raspberry Pi

Printers compatible with Apple's AirPrint will print files from macOS and iOS devices without having to install printer-specific drivers. I have an old WiFi printer that doesn't work with AirPrint, which is too bad because I often want to print something from my iPhone.

John Graham-Cumming published a how-to for configuring a cheap Raspberry Pi to make an old printer AirPrint compatible. I'm going to try it this weekend if I have time.