CUPS printer server on Freebsd
Mainly for my own reference. This is how I did it:
- Install Avahi (was already installed for netatalk/afp)
- Install CUPS per http://www.freebsd.org/doc/en/articles/cups/index.html
- Installed without Avahi support, due to some known bug. This prevents CUPS telling Avahi about the printer and requires the service file below.
- Magic sprinkles in /usr/local/etc/cups/cupsd.conf:
- Add an appropriate “allow” statement to the <Location />, otherwise it denies access
- ServerAlias *
- Downloaded printer driver file from http://www.openprinting.org/printers
- Set up printer via cups weberface.
- Tweaked and saved config via cups weberface – note this blats the config so check settings manually
- The avahi settings file template from http://wiki.zs64.net/FreeBSD,_CUPS_and_iPad_printing