Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'IOS printing via CUPS' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
IOS printing via CUPS
Authored by: grueni on Dec 23, '10 03:57:51PM

funny I came across a german programmers blog
she even created an applescript that should do the trick here (4 free)

the core bit is (my translation) :

to enable airprint one only needs to create a single file (named airprint.types) with a single line of text and save it into the directory /usr/share/cups/mime. No need to alter systemfiles, which is quite nice. The contents of the file should be

image/urf urf (0,UNIRAST)

original german:

Um AirPrint freizuschalten muss nur eine Datei mit einer Zeile Text erzeugt werden und in das Verzeichnis /usr/share/cups/mime abgespeichert werden. Dabei werden keinerlei Systemdateien verändert, was schon mal recht positiv ist. Die Zeile lautet:

image/urf urf (0,UNIRAST)

I'm too lazy to translate all her explanations :-) basically the file seems to signal cups that airprint can also use a filetype named urf, which seems to be what Ios devices do. I am no real programmer but it worked for me.


all credit goes to Simone who found it and published it ...

PS.: of course the printer needs to be connected to your mac (the one where you added the file) and should be on (tp print) also printer sharing needs to be enabled for that printer and the mac must be somehow WLAN wise in touch with your iphone / ipad... (on the same WLAN I guess) - J

Edited on Dec 23, '10 04:06:54PM by grueni

[ Reply to This | # ]