AirPrint
Jump to navigation
Jump to search
Linux method of sharing a non-Apple printer.
GitHub Repo
https://github.com/tjfontaine/airprint-generate
Run command to generate *.service file
python airprint-generate.py
Copy .service file to avahi directory
cp *.service /etc/avahi/services/
cd /etc/avahi/services/ nano *.service replace 'pdl=....' with 'pdl=application/octet-stream,application/pdf,application/postscript,image/gif,image/jpeg,image/png,image/tiff,text/html,text/plain,application/vnd.cups-banner,application/vnd.cups-command,application/vnd.cups-pdf,application/vnd.cups-postscript,image/urf'
/usr/share/cups/mime/apple.types
image/urf urf (0,UNIRAST)
/usr/share/cups/mime/local.convs
image/urf application/vnd.cups-postscript 66 pdftops
Restart Avahi Deamon
service avahi-daemon restart
Verify Firewall(IPTABLES) by opening up ports 631 and 5353 both tcp/udp
- 64bit ubuntu requires 32bit libs to run Brother MFC-465CN drivers
apt-get install libc6:i386 libstdc++6:i386