Although using a Raspberry Pi as an AirPrint or Google Cloud print server has a certain appeal...

See this or this for example.
_________________________
-- roger