The question is are you running with iOS6 or something earlier?
In iOS5 everything worked as it should as long as you shared and enabled your printer because AirPrint support was bullt into CUPS. IOS6 changed that. There's an Ubuntu bug report of this subject:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1054495
Note: The original bug report was for AirPrint and Ubuntu 12.04. It was closed as a fix was released for 12.10. In 12.04 - an LTS release - it's still broken. Remember that when you think about keeping an LTS version of Ubuntu / Mint. 5 year support is open for interpretation.
If it's iOS6 I can tell you what worked for me and believe me it's not pretty:
[1] Install the following package:
[2] Download a python script that will be used to extract printer information and build the avahi printer services:
https://github.com/tjfontaine/airprint- ... /downloads
[3] Extract the downloaded tar.gz file.
[4] Open a Terminal and change to the download directory and run the python script:
[5] Copy the avahi printer service file to the avahi services directory. For example:
Code: Select all
sudo cp AirPrint-HP970.service /etc/avahi/services
Note: It adds "AirPrint" in front of your existing printer name.
[6] Edit the *.services file as root:
Change this line:
<txt-record>URF=none</txt-record>
To this:
<txt-record>URF=
DM3</txt-record>
Then change this:
<txt-record>pdl=application/octet-stream,application/pdf,application/postscript,application/vnd.cups-raster,image/gif,image/jpeg,image/png,image/tiff,text/html,text/plain,application/vnd.adobe-reader-postscript,application/vnd.cups-pdf</txt-record>
To this:
<txt-record>pdl=application/octet-stream,application/pdf,application/postscript,application/vnd.cups-raster,image/gif,image/jpeg,image/png,image/tiff,
image/urf,text/html,text/plain,application/vnd.adobe-reader-postscript,application/vnd.cups-pdf</txt-record>
[7] Create 2 new files
Code: Select all
gksu gedit /usr/share/cups/mime/airprint.convs
Add this content:
Code: Select all
#
# "$Id: $"
#
# AirPrint
# Updated list with minimal set 25 Sept
image/urf application/pdf 100 pdftoraster
#
# End of "$Id: $".
#
Code: Select all
gksu gedit /usr/share/cups/mime/airprint.types
Add this content:
Code: Select all
#
# "$Id: $"
#
# AirPrint type
image/urf urf string(0,UNIRAST<00>)
#
# End of "$Id: $".
#
[8] Restart the avahi and cups services:
Code: Select all
sudo service cups restart
sudo service avahi-daemon restart