iOS 4 AirPrint on F14

Steven Stern subscribed-lists at sterndata.com
Tue Nov 23 20:06:43 UTC 2010


Wow!  It was pretty easy to get this going. We can now print from our
iPhones. (Whether that's a good idea is TBD.)

I used this site as a guide:

http://www.micromux.com/2010/11/22/airprint-for-mac-on-linux/

Here a a couple of Fedora specific tips:

1.  Stop cupsd. Edit /etc/cups/cupsd.com and add "ServerAlias *" to the
file.  Then remember to restart cups.

2.  When copying the service files created from TJ Fontaine's script, be
sure to set their selinux context appropriately.

$ ls -Z /etc/avahi/services
-rw-rw-r--. sdstern sdstern system_u:object_r:etc_t:s0
AirPrint-Marilyn_HP.service
-rw-r--r--. root    root    system_u:object_r:etc_t:s0
AirPrint-PSC-2200-Series.service
-rw-r--r--. root    root    system_u:object_r:etc_t:s0       ssh.service
-rw-r--r--. root    root    system_u:object_r:etc_t:s0       udisks.service

3. Remember to restart avahi-daemon after putting the services files in
/etc/avahi/services

4. Make sure your firewall is open for incoming TCP connections on port
631, at least for your local network.


My experience is that I can print anything but images from the Photo
app.  "Text" printing from mail and safari works well.

-- 
-- Steve


More information about the users mailing list