blog

CUPS printer server on Freebsd

Mainly for my own reference. This is how I did it:

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

Leave a Reply

*