Download and unzip:
I cannot post urls so replace the "_" underscores with dots where needed.
Install avahi from optware
$ ipkg install avahi
you will need to create the folders that cups needs. the bundled conf file puts the logs
$ mkdir -f /opt/logs/cups
cups also needs these two
$ mkdir -p /var/run/cups/certs
$ mkdir -p /var/cache/cups
fire up cups
if it fails "ldd cupsd" and see if you are missing any libraries. Install the libraries from the libs.tar.gz
if it segvs - you may have a mismatch of libs, replace yours from libs.tar.gz - but that may break something else - so keep a backup.
Test it by going to - your router ip address may be different
password if prompted is your root password and username is root (not admin)
Add a new printer - the wizard should let you pick a driver from gutenprint.
use the airprint-generate from tjfointaine script to create the services file that you can drop into /opt/etc/avahi/services/
If you have trouble with installing python to get this to work - copy paste the below into a XYZ.service file. change the YOURPRINTERNAME to your Printer Name as shown in CUPS - YMMV.
<?xml version="1.0" ?>
<!DOCTYPE service-group SYSTEM 'avahi-service.dtd'>
<name replace-wildcards="yes">AirPrint Printer Name @ %h</name>
$ avahi-daemon -D
you should be able to see the printer on your ios device.
Your /opt/logs/cups/error_log should also have lots of debugging info to help figure out any problems now.
edit the /opt/etc/cups/cupsd.conf file and change the LogLevel to debug from warn.
So why do they not work out of the box from optware - my best guesses
- cups - crashes/fails because of some shared library loading/unloading or because it is linked with relocatable addresses
- gs - crashes for cups - because the default resolution is not set - I do not know if this is a bug in GS or in CUPS.
- gutenprint - I think is fine - I rebuilt because the 5.2.6 version on optware did not have my printer driver - so you may not need to use my version above.