Archive

Archive for August, 2012

Add airprint (wireless IOS printing) to Debian Squeeze

August 26, 2012 Leave a comment

You can enable wifi printing on your IOS device with a Debian box connected to your local wired network assuming your wireless ap is also connected to the same network. Here’s how

Before you start you should have a cups compatible printer connected to the Debian box.

apt-get install cups-pdf avahi-daemon python-cups cups-driver cups-driver-gutenprint  foomatic-db foomatic-db-engine foomatic-filters foomatic-filters-ppds

Test cups printing and make sure it’s functional. Add this to /etc/cupsd.conf

ServerAlias *

mkdir /opt/airprint (or wherever you want)

wget https://github.com/tjfontaine/airprint-generate/blob/master/airprint-generate.py

chmod +x airprint-generate.py

./airprint-generate-py -d /etc/avahi/services

Restart avahi ie /etc/init.d/avahi-daemon restart

ls /etc/avahi/services and you should see your printer listed.

Try printing from your IOS device (iphone, ipad, etc) connected to your wifi network. It should work!

Advertisements
Categories: sysadmin

Airprint (wireless IOS printing) for Debian Squeeze

August 21, 2012 Leave a comment

You can enable wifi printing on your IOS device with a Debian box connected to your local wired network assuming your wireless ap is also connected to the same network. Here’s how

Before you start you should have a cups compatible printer connected to the Debian box.

apt-get install cups-pdf avahi-daemon python-cups cups-driver cups-driver-gutenprint  foomatic-db foomatic-db-engine foomatic-filters foomatic-filters-ppds

Test cups printing and make sure it’s functional. Add this to /etc/cupsd.conf

ServerAlias *

mkdir /opt/airprint (or wherever you want)

wget https://github.com/tjfontaine/airprint-generate/blob/master/airprint-generate.py

chmod +x airprint-generate.py

./airprint-generate-py -d /etc/avahi/services

Restart avahi ie /etc/init.d/avahi-daemon restart

ls /etc/avahi/services and you should see your printer listed.

Try printing from your IOS device (iphone, ipad, etc) connected to your wifi network. It should work!

Categories: sysadmin