How to Print from your iPhone to Linux Printer

yum install system-config-printer
yum install cups
rpm -ivh mfc9560cdwlpr-1.1.1-5.i386.rpm mfc9560cdwcupswrapper-1.1.1-5.i386.rpm 
Configure CUPs for printer and make it shared.
yum install avahi-tools avahi-browse
Dependencies Resolved
Package               Arch         Version               Repository       Size
avahi-tools           i686         0.6.27-8.fc14         updates          38 k
Updating for dependencies:
avahi                 i686         0.6.27-8.fc14         updates         238 k
avahi-glib            i686         0.6.27-8.fc14         updates          20 k
avahi-gobject         i686         0.6.27-8.fc14         updates          29 k
avahi-libs            i686         0.6.27-8.fc14         updates          55 k
avahi-ui              i686         0.6.27-8.fc14         updates          32 k
service avahi-daemon start
service restart cups
root@localhost services]# ls
AirPrint-Brother-MFC-9560CDW.service  ssh.service
AirPrint-MFC9560CDW.service           udisks.service
yum install cups-pdf
install cups filters
yum install cups-devel
Dependencies Resolved
Package                                Arch                    Version                            Repository                  Size
cups-devel                             i686                    1:1.4.8-5.fc14                     updates                    108 k
Installing for dependencies:
gnutls-devel                           i686                    2.8.6-2.fc14                       fedora                     1.1 M
keyutils-libs-devel                    i686                    1.2-6.fc12                         fedora                      29 k
krb5-devel                             i686                    1.8.4-3.fc14                       updates                    1.2 M
libcom_err-devel                       i686                    1.41.12-6.fc14                     updates                     26 k
libgcrypt-devel                        i686                    1.4.5-4.fc13                       fedora                     117 k
libgpg-error-devel                     i686                    1.9-1.fc14                         fedora                      14 k
libselinux-devel                       i686                    2.0.96-6.fc14.1                    updates                    136 k
libsepol-devel                         i686                    2.0.41-3.fc14                      fedora                      64 k
zlib-devel                             i686                    1.2.5-2.fc14                       fedora                      45 k
Updating for dependencies:
krb5-libs                              i686                    1.8.4-3.fc14                       updates                    697 k
krb5-workstation                       i686                    1.8.4-3.fc14                       updates                    429 k
libcom_err                             i686                    1.41.12-6.fc14                     updates                     34 k
libselinux                             i686                    2.0.96-6.fc14.1                    updates                    107 k
libselinux-python                      i686                    2.0.96-6.fc14.1                    updates                    198 k
libselinux-utils                       i686                    2.0.96-6.fc14.1                    updates                     80 k
Transaction Summary

Install      10 Package(s)
Upgrade       6 Package(s)
On another machine install avahi-ui-tools
yum install avahi-ui-tools
gunzip cups-filters-1.0.19.tar.gz
tar xvf cups-filters-1.0.19.tar
cd cups-filters-1.0.19
ln -s /usr/lib/ /usr/lib/
yum install libpng
yum install libpng-devel
ln -s /usr/lib/ /usr/lib/
yum install lcms lcms-devel
yum install freetype freetype-devel
yum install fontconfig fontconfig-devel
ln -s /usr/lib/ /usr/lib/
export IJS_CFLAGS=yes
export POPPLER_LIBS=yes
export IJS_LIBS=yes
export IJS_CFLAGS=no
export POPPLER_LIBS=no
export IJS_LIBS=no
yum install poppler poppler-devel
yum install libjpeg-devel 
yum install openjpeg-devel
yum install cairo

yum install gtk+