After iOS6 update my Linux Airprint server does not work anymore for my iDevices. I'm referring to my previous article explaining how you can configure a linux machine as Linux Airprint Server!

Fortunately there is no change to the Airprint protocol. Ranil give us the solution (thanks a lot for your test!!)

You should add to your previous configuration .service file, into pdl section, image/urf. For example, in my file now I have:

pdl=application/octet-stream,application/pdf,application/postscript,image/gif,image/jpeg,image/png,image/tiff,text/html,text/plain,application/vnd.cups-banner,application/vnd.cups-command,application/vnd.cups-pdf,application/vnd.cups-postscript,image/urf

After this your print should be visible in your local network. To completely allow print with any iOS6 application, you have to add also these two files in your cups configuration.

/usr/share/cups/mime/apple.types

image/urf urf (0,UNIRAST)

/usr/share/cups/mime/local.convs

image/urf application/vnd.cups-postscript 66 pdftops

Now your AirPrinter should work correctly!

Thanks a lot Ranil for your help!

Moved from comment, here the complete Jam guide to setup an AirPrint server for iOS6. Reading the commands executed in the "script" i can say that is step-by-step guide for a Fedora16/17. For a Centos/RedHat you have to change a little bit some steps.

#AS ROOT:  
echo “image/urf urf (0,UNIRAST)” > /usr/share/cups/mime/apple.types  
echo “image/urf application/vnd.cups-postscript 66 pdftops” > /usr/share/cups/mime/local.convs  
# pdftops can be installed with: yum install poppler-utils
#restore SELINUX permissions
restorecon /usr/share/cups/mime/*  
#restart cups (print server)
systemctl restart cups.service

#AS USER:
#download airprint-generate.py as stated above and run it from: https://github.com/tjfontaine/airprint-generate
cd /tmp/  
python airprint-generate.py

#AS ROOT:
mv /tmp/AirPrint-*.service /etc/avahi/services/  
restorecon /etc/avahi/services/*  
#restart the avahi service
systemctl restart avahi-daemon.service

#check the new AirPort service is running
avahi-browse --all  
# no avahi-browse ?, install it: yum install avahi-tools

I think you should say a big thanks to Jam for this script! ;)

About Author

Marco Mornati

Marco Mornati

Hello, my name is Marco I'm a Software Engineer specialized in middleware environment and Linux Operating Systems.