How to Print from your iPhone to Linux Printer

yum install system-config-printer
yum install cups
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-9560CDW
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
================================================================================
Installing:
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
download https://github.com/tjfontaine/airprint-generate
/etc/avahi/services
~jjo/airprint-generate.py 
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
====================================================================================================================================
Installing:
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
wget http://www.openprinting.org/download/cups-filters/cups-filters-1.0.19.tar.gz
gunzip cups-filters-1.0.19.tar.gz
tar xvf cups-filters-1.0.19.tar
cd cups-filters-1.0.19
./configure
ln -s /usr/lib/libjpeg.so.62.0.0 /usr/lib/libjpeg.so
yum install libpng
yum install libpng-devel
ln -s /usr/lib/libtiff.so.3.9.4 /usr/lib/libtiff.so
yum install lcms lcms-devel
yum install freetype freetype-devel
yum install fontconfig fontconfig-devel
ln -s /usr/lib/libijs-0.35.so /usr/lib/libijs.so
export IJS_CFLAGS=yes
export POPPLER_LIBS=yes
export IJS_LIBS=yes
export POPPLER_CFLAGS=yes
export IJS_CFLAGS=no
export POPPLER_LIBS=no
export IJS_LIBS=no
export POPPLER_CFLAGS=no
yum install poppler poppler-devel
yum install libjpeg-devel 
yum install openjpeg-devel
yum install cairo

yum install gtk+

Leave a Reply

Your email address will not be published. Required fields are marked *