My users want to use an iPad to print to our network printers. The printers are shared using a Windows 2008 R2 Server. I've looked into getting AirPrint to work but haven't had any success.
I would consider a Mac OS X VM or maybe a mac mini on the network.
There are AirPrint home-made daemons you can use (same as there are home-made AirPlay daemons as well), but I think you'll have trouble getting a sysadmin agreeing to install and support them on your print servers.
These solutions all involve installing iTunes and then using its Bonjour service to share the printer. I haven't actually had success on getting it to work (at home, not at work), but others have.
OK. I was successfully able to use AirPrint on my corporate network (I am the sysadmin). I was unable to print to severs shared using SMB Shares. I was only able to successully print to printers with print servers built into them, using their IP Address on port 9100.
1) Install a VM with Ubuntu 11.11 beta Oneiric Ocelot. Update your packages.
2) Add the printer using these instructions
YOU MUST ADD THE PRINTER USING HP/APP SOCKET.
3) Get the AirPrint Generate script from github here. (More info)
./airprint-generate.py
This will generate
PRINTER.service
files.cp PRINTER.service /etc/avahi/services/
4) edit
/etc/cups/cups.conf
add a lineServerAlias *
under the linePort 631
5) Restart avahi and cups
NOTE: To debug use avahi-browse.
Sources:
http://digitizor.com/2011/06/29/ubuntu-apple-airprint/
http://www.atxconsulting.com/blog/tjfontaine/2010/11/21/automatically-generate-airprint-avahi-service-files-cups-printers/
http://www.finnie.org/2010/11/13/airprint-and-linux/
https://lists.ubuntu.com/archives/ubuntu-devel/2011-June/033611.html