Configure Linux as an Airprint Server

To configure your avahi service with your printer you can use this python script: https://github.com/tjfontaine/airprint-generate with this simple command

python airprint-generate.py

that will automatically look in your linux cups configuration, extract your printers and generate the files for avahi.

After running the script, you will find a .service file for every printer. Now, just copy the files of the desired printers to the avahi services folder:

mv AirPrint-hpcp2025.service /etc/avahi/services

If all works well you should have this on your iOS device.

Ref: http://blog.mornati.net/2011/09/28/linux-as-airprint-server/

~~LINKBACK~~

Enter your comment. Wiki syntax is allowed:
If you can't read the letters on the image, download this .wav file to get them read to you.