Home > sysadmin > Airprint (wireless IOS printing) for Debian Squeeze

Airprint (wireless IOS printing) for Debian Squeeze

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
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: