-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/23/2010 03:06 PM, Steven Stern wrote:
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.
restorecon -R -v /etc/avahi
Should set the correct labels.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkzsNY0ACgkQrlYvE4MpobMFVgCghTE9ncGDlSW5niURaL+8g0m/
n1YAn2Cwo5itYZR7hlHetChw2hN5c997
=UHOM
-----END PGP SIGNATURE-----