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!
48 comments
3 pings
Skip to comment form ↓
jam
23/09/2012 at 11:20 (UTC 2) Link to this comment
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
[Reply]
mmornati Reply:
September 23rd, 2012 at 21:33
Great Jam. Really complete guide with selinux settings too
I think could be useful for all others trying to set AirPrint for iOS6.
[Reply]
Kalimari
25/09/2012 at 10:29 (UTC 2) Link to this comment
Thanks for the quick and detailed solution, greatly appreciated input from ranil and yourself, it saved me countless hours!
[Reply]
Yannick Mekerque
26/09/2012 at 15:27 (UTC 2) Link to this comment
thanks great job. I just modifiy files .services URF=none by URF=DM3. it ‘s working very well
[Reply]
Marcus Johnson (@samoraj) Reply:
January 4th, 2013 at 00:05
thanks Yannick! now everything works!
[Reply]
Werner Scholz
26/09/2012 at 18:37 (UTC 2) Link to this comment
Thanks all of you guys! Great job! The final hint of Yannick made my iPhone printing!
Now everything works fine.
[Reply]
Karl
26/09/2012 at 23:11 (UTC 2) Link to this comment
Works great. Just tried printing a picture from the Photo Gallery. Seems like this doesn’t work very well–the photos are coming out in pieces. So far I’ve had 7 pages at least come out of the printer printing one picture.
Is this normal?
[Reply]
mmornati Reply:
September 27th, 2012 at 09:36
Oh yes. You have the puzzle mode selected!
I’m joking. I had exactly the same problem when I tested to print a photo from my iPhone. But honestly i never try to fix this problem… maybe someone else here have information about it.
[Reply]
Ben
15/10/2012 at 21:39 (UTC 2) Link to this comment
Hello, Where i find the file *.service on my system ? Thanks
[Reply]
mmornati Reply:
October 15th, 2012 at 21:43
Hello Ben, if you mean “where is the avahi services folder?” is: /etc/avahi/services/
If you want to know where is the file created by the python script, is in the folder where you execute the script.
If, for any reason, you can’t find the avahi files in that location, you can always execute a: “locate *.service”
Marco
[Reply]
Ben
15/10/2012 at 22:04 (UTC 2) Link to this comment
Thanks for your response.
After install mlocate in my RaspBerry, i’m type “locate *.service” and this result appears :
root@raspberrypi:~# locate *.service
/etc/avahi/services/playprinter.service
/etc/avahi/services/udisks.service
/etc/systemd/system/dbus-org.freedesktop.Avahi.service
/etc/systemd/system/syslog.service
/etc/systemd/system/multi-user.target.wants/avahi-daemon.service
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/lib/systemd/system/avahi-daemon.service
/lib/systemd/system/colord-sane.service
/lib/systemd/system/colord.service
/lib/systemd/system/console-kit-daemon.service
/lib/systemd/system/console-kit-log-system-restart.service
/lib/systemd/system/console-kit-log-system-start.service
/lib/systemd/system/console-kit-log-system-stop.service
/lib/systemd/system/dbus.service
/lib/systemd/system/polkitd.service
/lib/systemd/system/rsync.service
/lib/systemd/system/rsyslog.service
/lib/systemd/system/sudo.service
/lib/systemd/system/udev-settle.service
/lib/systemd/system/udev-trigger.service
/lib/systemd/system/udev.service
/lib/systemd/system/udisks.service
/lib/systemd/system/wpa_supplicant.service
/lib/systemd/system/basic.target.wants/console-kit-log-system-start.service
/lib/systemd/system/basic.target.wants/udev-trigger.service
/lib/systemd/system/basic.target.wants/udev.service
/lib/systemd/system/halt.target.wants/console-kit-log-system-stop.service
/lib/systemd/system/multi-user.target.wants/dbus.service
/lib/systemd/system/poweroff.target.wants/console-kit-log-system-stop.service
/lib/systemd/system/reboot.target.wants/console-kit-log-system-restart.service
/usr/share/dbus-1/services/ca.desrt.dconf.service
/usr/share/dbus-1/services/gvfs-daemon.service
/usr/share/dbus-1/services/gvfs-metadata.service
/usr/share/dbus-1/services/org.gnome.GConf.service
/usr/share/dbus-1/services/org.gtk.GLib.PACRunner.service
/usr/share/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service
/usr/share/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service
/usr/share/dbus-1/services/org.gtk.Private.GduVolumeMonitor.service
/usr/share/dbus-1/system-services/com.hp.hplip.service
/usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service
/usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service
/usr/share/dbus-1/system-services/org.freedesktop.Avahi.service
/usr/share/dbus-1/system-services/org.freedesktop.ColorManager.service
/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
/usr/share/dbus-1/system-services/org.freedesktop.UDisks.service
/usr/share/dbus-1/system-services/org.freedesktop.colord-sane.service
/usr/share/doc/avahi-daemon/examples/example.service
/usr/share/doc/avahi-daemon/examples/sftp-ssh.service
/usr/share/doc/avahi-daemon/examples/ssh.service
root@raspberrypi:~#
Whats is this good file ?
Sorry for my bad English so i’m French
((
Thanks
[Reply]
mmornati Reply:
October 15th, 2012 at 22:10
Ok, pas de problème. Le fichier service qu’il faut mettre dans le repertoire d’avahi (/etc/avahi/services/) faut le générer avec le script python airprint-generate.py (https://github.com/tjfontaine/airprint-generate). J’ai parlé de ce script dans le premier article de la série
(http://blog.mornati.net/2011/09/28/linux-as-airprint-server/).
à dispo
Marco
[Reply]
Ben
15/10/2012 at 22:26 (UTC 2) Link to this comment
Merci beaucoup je pense que ca va etre plus simple en francais
Alors ca je l’ai bien fait puisque ca fonctionne avec iOS5 mais désormais lorsque je refait la manip voilà ce que cela me donne :
root@raspberrypi:~# dir
airprint-generate.py Desktop libharu-2.2.1 libharu-2.2.1.tar.gz shairport
root@raspberrypi:~# ./airprint-generate.py -d /etc/avahi/services
Traceback (most recent call last):
File “./airprint-generate.py”, line 25, in
import cups, os, optparse, re, urlparse
ImportError: No module named cups
root@raspberrypi:~#
Possible d’eclairer ma lanterne ??
))
[Reply]
mmornati Reply:
October 15th, 2012 at 22:39
Hello again,
ton problème est ceci: ImportError: No module named cups. Pour le résoudre faut installer le paquetage “python-cups” (le nom peut changer avec la distro).
Par contre, vu que tu dit que le service marché déjà pour iOS5, je crois que tu avais déjà configuré le server avec le bon service pour l’imprimante. Donc tu peut vérifier avec un “ls /etc/avahi/services/” si tu peut voir ton fichier (peut être que la base de locate n’est pas à jour. Pour faire cela faut exécuter updatedb).
Comme ça normalement tu a toutes les info pour faire marcher le script python et générer le service avahi pour Apple Devices
Marco
[Reply]
Ben
15/10/2012 at 22:42 (UTC 2) Link to this comment
Je suis vraiment désolé de t’embeter …… mais je confirme ca fonctionne toujours avec iOS5 ! Et dans /etc/avahi/services je n’ai que udisks.service en ayant bien fait updatedb. Je crois que je suis dans une impasse la…..
[Reply]
mmornati Reply:
October 15th, 2012 at 22:53
mmm oui c’est un peut bizarre. Mais, il y a toujours une solution aux problèmes informatique
Tu peut essayer avec un “avachi-browser –all” pour voir si ton impriment est toujours présente sur le réseau (et quel ordinateur a le service avahi pour iOS5, même si je crois que tu sait bien sur lequel tu l’a installé :p).
Si est toujours présent avec le avahi browser, peut être que ton fichier était supprimer par un commande de génération que tu a exécuter pendant ces derniers tests. Si ça c’est le cas, redémarre le service avahi (systemctl restart avahi-daemon.service) et essaye encore sur iOS5 et/ou avec un browser. Normalement l’impriment ne doit plus exister.
Après tu peut installer la librairie python-cups, exécuter de nouveau le script pour créer le fichier server et redémarrer encore une fois le service avahi
That’s all and that’s easy
Marco
[Reply]
Ben
15/10/2012 at 22:55 (UTC 2) Link to this comment
Ok je te remerci je part au travail la je te redit ca dès que possible encore merci !!!
[Reply]
Ben
16/10/2012 at 04:37 (UTC 2) Link to this comment
Merci beaucoup cela fonctionne a merveille !
[Reply]
mmornati Reply:
October 16th, 2012 at 08:11
Super!!
[Reply]
Parth
20/10/2012 at 06:58 (UTC 2) Link to this comment
Hi I have made the changes as above but still cannot print from iOS 6, i can print fine using airprint from my macbook pro.
I print from the device it sends the job but nothing prints. CUPS doesnt show the job at all (from web interface)
ideas? (i added the URF=DM3 as well as creating two files with the 1 line of code in them and added image/urf in the .services file
Thanks in advance!
[Reply]
Jeff Reply:
December 16th, 2012 at 18:55
I also had this problem using Fedora 14. It was a CUPS permissions issue. Following the directions under CUPS configuration at http://www.ezunix.org/index.php?title=Enable_iOS_AirPrint_with_any_printer_supported_by_CUPS did the trick for me.
[Reply]
Claude Gélinas
27/10/2012 at 04:21 (UTC 2) Link to this comment
avahi-browse –all command show nothing, avahi-daemon is running so what else could I do
[Reply]
Sam Chen
31/10/2012 at 06:08 (UTC 2) Link to this comment
Avahi-browse -all shows the printer for AirPrint. iOS devices can find the printer too, but after submitting print jobs, nothing prints. Weird. This is Fedoran17 with HP MTF 3330. AirPrint works great in Fedora 14, but not able to set up in Fedora 17. Why? Is there anything missed?
[Reply]
mmornati Reply:
October 31st, 2012 at 07:39
Don’t know, I’ve installed the server on centos. Do you have any error in /var/log/messages or somewhere else (don’t know I’d cups have an errer logs )
Marco
[Reply]
kubik
28/11/2012 at 22:59 (UTC 2) Link to this comment
Hello,
I got something wrong in cups server when I was trying to print out a page from the IPAD.
In the error file I have this :
E [28/Nov/2012:20:07:33 +0100] Request from “192.168.0.10″ using invalid Host: field “kubik.local”
How can I fix it?
Thank you in advance for help.
Regards,
kubik.
[Reply]
mmornati Reply:
November 29th, 2012 at 20:12
Hello Kubik.
I don’t exactly know if kubik.local is the cups server or the iPad for you. In any case I think the log is on the server so I think it means that your server can’t resolve back kubik.local address (don’t you have a dns, right?).
So you can try to fix it adding (statically) that entry in the /etc/hosts file on the server. Something like:
192.168.0.10 kubik.local
Marco
[Reply]
simonmwilsonn
29/11/2012 at 13:48 (UTC 2) Link to this comment
Running on CentOS 6.3… avahi-browse –all on local server shows the services. I can print to the printers using CUPS. iPhone / iPads – “No Printers Found”. avahi-daemon is running… i’ve added the iOS6 changes needed, but cannot get this working. avahi-browse –all on another server on the network shows nothing – should it?
[Reply]
kubik
29/11/2012 at 23:39 (UTC 2) Link to this comment
Hello Marco,
Thanks for your reply but unfortunetely it does not work. CUPS serveur is running on kubik desktop. IP 192.168.0.10 is the ipad one. If you have an idea to fix this issue?
Thank you in advance.
kubik.
[Reply]
mmornati Reply:
November 30th, 2012 at 00:33
Here again Kubik,
I think you can try (or check) this for your problem:
* Open /etc/cups/cupsd.conf
* Add the line “ServerAlias *”
If it does not work, could be an issue in your cups version.
Marco
[Reply]
Ivan
09/12/2012 at 02:39 (UTC 2) Link to this comment
This is a great thread and been useful. It seems a few people are now stuck in the same way that I am. Following all this the printer now shows up on my iPhone and iPad but when I print nothing actually prints. Looking in the cups log files, there is no log line to show the print job even got that far. Does anyone have any suggestions on where to look next?
[Reply]
Trenbar
13/12/2012 at 00:09 (UTC 2) Link to this comment
Same here, I’m also stuck as Ivan. I’ve followed the guide, the printer is created in the CUPS gui, select the printer and print in the Mail app on iOS5.1.1 – nothing comes out on the printer…
Checked the log, but there is no obvious clue as the one about invalid host as mentioned in a reply earlier.
Any tips on where to look to fix the issue?
[Reply]
mmornati Reply:
December 13th, 2012 at 16:34
Hello,
for you and other stucked with this error. You should verify if all is correct in your cups/printer configuration. It’s difficult to debug a problem without information about it.
For example you can check in your cups log:
tail -n 200 -f /var/log/cups/error_log
or access_log or others in that folder. I know that at the beginning of my tests I had problem with my printer driver and the only information about this problem was in cups error_log.
Marco
[Reply]
tobias
17/12/2012 at 15:35 (UTC 2) Link to this comment
Hi,
Stuck with the print-seems-ok-but-nothing-happens error here. No errors on iPad or in cups error_log
I noticed something weird though:
Printing from the app I tried: Foldify for iPad – not working. But when I tried printing from Photos on the iPad -> voila, that worked.
I’ll keep trying.
[Reply]
tobias Reply:
December 17th, 2012 at 15:38
Replying to myself… I turned on debug-logging in cups.
When trying to print and nothing happens:
D [17/Dec/2012:15:31:05 +0100] Get-Printer-Attributes ipp://pequeno.local.:631/printers/Canon_ip4800
D [17/Dec/2012:15:31:05 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://pequeno.local.:631/printers/Canon_ip4800) from 192.168.0.12
D [17/Dec/2012:15:31:05 +0100] cupsdSetBusyState: Not busy
D [17/Dec/2012:15:31:05 +0100] cupsdReadClient: 12 WAITING Closing on EOF
D [17/Dec/2012:15:31:05 +0100] cupsdCloseClient: 12
…nothing more happens.
When printing and something actually happens:
D [17/Dec/2012:15:30:20 +0100] cupsdAuthorize: No authentication data provided.
D [17/Dec/2012:15:30:20 +0100] cupsdReadClient: 12 2.0 Get-Printer-Attributes 6
D [17/Dec/2012:15:30:20 +0100] Get-Printer-Attributes ipp://pequeno.local.:631/printers/Canon_ip4800
D [17/Dec/2012:15:30:20 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://pequeno.local.:631/printers/Canon_ip4800) from 192.168.0.12
D [17/Dec/2012:15:30:20 +0100] cupsdSetBusyState: Not busy
D [17/Dec/2012:15:30:20 +0100] cupsdReadClient: 12 WAITING Closing on EOF
D [17/Dec/2012:15:30:20 +0100] cupsdCloseClient: 12
D [17/Dec/2012:15:30:58 +0100] cupsdNetIFUpdate: “lo” = localhost:631
.
.
.
… and then a lot of more info about the print…
[Reply]
mmornati Reply:
December 17th, 2012 at 15:39
Maybe the problem is on the type used by Foldify to send document to CUPS server. And, do you have nothing in your cups queue? And cups access_logs contains any information about the access to your printer?
Marco
[Reply]
tobias
17/12/2012 at 18:40 (UTC 2) Link to this comment
I was thinking the same as you – but nothing in the queue:s, no access, only silence…
But I found the problem – or at least a way to get around it – duplex printing was selected as default. If I uncheck that box, it prints without problems from all apps.
Maybe for someone else to check, duplex printing/paper selection/… and such. Perhaps one of those is the culprit.
[Reply]
Marcus Johnson (@samoraj) Reply:
January 3rd, 2013 at 23:58
AHH! thanks Tobias for the hint on duplex, I have exactly yhe same issues.
now I know where to look for the solution
[Reply]
Stephen
27/12/2012 at 18:35 (UTC 2) Link to this comment
Thanks for the script, Although because i’m an idiot there needs to be one more step. after you define your new printer in Linux (Fedora) it works much better when you “Connect to Server”. yup I’m an idiot
[Reply]
Matze
28/12/2012 at 16:16 (UTC 2) Link to this comment
Hello,
i got an RasperryPi on Christmas =) I want to use my Epson-Printer as Network-Printer by using the Rasperry.
Constellation:
Printer (USB) –> RaspPi –> Wifi –> Router
I followed the instructions here: http://rohankapoor.com/blog/2012/06/12/configuring-the-raspberry-pi-as-an-airprint-server/ … and edited the .service file as you recommended and create the both other files … but my IPhone and IPad cant see any printer (both iOS 6.0.2) =(
The CUPS-Server is working well … my MacBook recognizes the Printer in the Network and prints as it should.
How can I make the printer working? =(
[Reply]
Matze Reply:
December 30th, 2012 at 22:37
Sorry … my fault … It was a type-error in one of my files =/ Now it works as it should =D
[Reply]
Giacomofabbri
30/12/2012 at 15:36 (UTC 2) Link to this comment
When i try to move the script from a place to another place following this guide here http://rohankapoor.com/blog/2012/06/12/configuring-the-raspberry-pi-as-an-airprint-server/
i get that kind of error:
root@raspberrypi:/opt/airprint# ./airprint-generate.py -d /etc/avahi/services
Traceback (most recent call last):
File “./airprint-generate.py”, line 25, in
import cups, os, optparse, re, urlparse
ImportError: No module named cups
root@raspberrypi:/opt/airprint# python-cups
Can you help me??P? PLAESE THANKS
[Reply]
Carl Scarlett
31/12/2012 at 11:42 (UTC 2) Link to this comment
I had the same issue as mentioned above, printing from iPhone to HP Photosmart D7360 via a RaspberryPi and CUPS. Photos would print OK, but not other apps.
The change that made the difference was as described by Yannick above:
I modified the .service file in /etc/avahi/services by changing URF=none to URF=DM3
I then restarted the avahi-daemon and everything now works.
Carl
[Reply]
Nestor
06/01/2013 at 11:50 (UTC 2) Link to this comment
Hi,
thank you for your work. I use Debian. Printer is Kyocera KM 2030, condfigured with the print util from debian, works well from debian. IP-adress from printer is 192.168.0.40, from pc running under debian: 192.168.0.31, ipad under ios 6.0.1: 192.168.45. hostname of pc:Miraculix
I used your script to generate the service file, included image/urf, added the two files to cups configuration and did the dm3 thing mentioned above.
I can see the printer from the ipad. but can not print. the print queue remains empty. changed the cups log to debug.
Upon prininting from ipad the following lines reappear in the cups error-log every second for some minutes:
D [06/Jan/2013:11:29:28 +0100] cupsdAcceptClient: 13 from 192.168.0.45:631 (IPv4)
D [06/Jan/2013:11:29:28 +0100] cupsdReadClient: 13 POST /printers/Kyocera-Mita-KM-2030 HTTP/1.1
D [06/Jan/2013:11:29:28 +0100] cupsdSetBusyState: Active clients
D [06/Jan/2013:11:29:28 +0100] cupsdAuthorize: No authentication data provided.
E [06/Jan/2013:11:29:28 +0100] Request from “192.168.0.45″ using invalid Host: field “Miraculix.local”
D [06/Jan/2013:11:29:28 +0100] cupsdReadClient: 13 Closing because Keep-Alive disabled
D [06/Jan/2013:11:29:28 +0100] cupsdCloseClient: 13
D [06/Jan/2013:11:29:28 +0100] cupsdSetBusyState: Not busy
After some minutes the following lines appear in error log:
D [06/Jan/2013:11:29:44 +0100] cupsdNetIFUpdate: “lo” = localhost:631
D [06/Jan/2013:11:29:44 +0100] cupsdNetIFUpdate: “eth1″ = 192.168.0.31:631
D [06/Jan/2013:11:29:44 +0100] cupsdNetIFUpdate: “lo” = localhost:631
D [06/Jan/2013:11:29:44 +0100] cupsdNetIFUpdate: “eth1″ = fe80::205:5dff:fe0a:7dd1%eth1:631
D [06/Jan/2013:11:29:44 +0100] Report: clients=1
D [06/Jan/2013:11:29:44 +0100] Report: jobs=4
D [06/Jan/2013:11:29:44 +0100] Report: jobs-active=0
D [06/Jan/2013:11:29:44 +0100] Report: printers=1
D [06/Jan/2013:11:29:44 +0100] Report: printers-implicit=0
D [06/Jan/2013:11:29:44 +0100] Report: stringpool-string-count=6349
D [06/Jan/2013:11:29:44 +0100] Report: stringpool-alloc-bytes=10472
D [06/Jan/2013:11:29:44 +0100] Report: stringpool-total-bytes=115256
D [06/Jan/2013:11:30:06 +0100] cupsdAcceptClient: 13 from localhost (Domain)
D [06/Jan/2013:11:30:06 +0100] cupsdReadClient: 13 POST / HTTP/1.1
D [06/Jan/2013:11:30:06 +0100] cupsdSetBusyState: Active clients
D [06/Jan/2013:11:30:06 +0100] cupsdAuthorize: No authentication data provided.
D [06/Jan/2013:11:30:06 +0100] cupsdReadClient: 13 1.1 Get-Notifications 1
D [06/Jan/2013:11:30:06 +0100] Get-Notifications /
D [06/Jan/2013:11:30:06 +0100] cupsdIsAuthorized: requesting-user-name=”nestor”
D [06/Jan/2013:11:30:06 +0100] Returning IPP successful-ok for Get-Notifications (/) from localhost
D [06/Jan/2013:11:30:06 +0100] cupsdSetBusyState: Not busy
D [06/Jan/2013:11:30:06 +0100] cupsdReadClient: 13 WAITING Closing on EOF
D [06/Jan/2013:11:30:06 +0100] cupsdCloseClient: 13
Does anyone have an idea how to fix that?
Thank u
Nestor
[Reply]
Mike Pickering
22/01/2013 at 01:49 (UTC 2) Link to this comment
Thank you, this worked perfectly!
[Reply]
Chris
24/01/2013 at 20:31 (UTC 2) Link to this comment
Same problem as Nestor posted. The printer is visible on iPad, but I can’t print. Looking at tcpdump it looks like the job isn’t even sent.
[Reply]
chris
25/01/2013 at 16:37 (UTC 2) Link to this comment
It is sent. I’ve the same cups log entries like Nestor.
[Reply]
davygravy
31/01/2013 at 03:11 (UTC 2) Link to this comment
Thank you – my Debianized Dockstar again works w/ my iPhone (w/ iOS 6) for direct printing….
[Reply]
Jeremy
18/03/2013 at 12:39 (UTC 2) Link to this comment
Many thank yous to you mmornati and the great contributors, with everyone’s help on this blog post and the previous one I was able to create an “AirPrint server” for my wife and mine iDevices in about an hour out of an old netbook that was collecting dust in my office closet. Awesome!
[Reply]
CUPS, avahi-daemon, ubuntu Lucid, hp Laserjet 2550 and IOS6 devices… | Mike and Brandi Glaske
21/12/2012 at 20:57 (UTC 2) Link to this comment
[...] http://blog.mornati.net/2012/09/22/linux-airprint-server-for-ios6-devices/ [...]
Airprint with Raspberry Pi | Saturngod
31/01/2013 at 10:04 (UTC 2) Link to this comment
[...] iOS 6 အတွက် fixed လုပ်တာကိုတော့ http://blog.mornati.net/2012/09/22/linux-airprint-server-for-ios6-devices/ မှာ [...]
Raspberry Pi Home Server – ArchLinux – Installer un serveur d’impression avec CUPS et AirPrint | Raspberry Pi Home Server
07/02/2013 at 11:01 (UTC 2) Link to this comment
[...] un appareil avec un iOS version 6.x cela risque de ne pas suffire. Le blog de mmornati explique ici comment faire. Avec l’utilisateur root toujours, lancer les 2 commandes suivantes : [...]