Help with CUPS reconfiguration

Polytropon freebsd at
Fri Nov 6 16:20:47 UTC 2009

On Fri, 6 Nov 2009 08:50:39 -0500, stan <stanb at> wrote:
> The question I am sking, though, is "How can I modify the CUPS
> configuration, without using the web based interface (which is not working,
> in such a manner that the /etc/printcap file gets rebuilt.

The problem is that hte web interface seems to be a very
integrated part of the CUPS configuration which isn't intended
to be "not used". An option would maybe be to rewrite the
files in /usr/local/etc/cups as well as /etc/printcap
manually to reflect the desired changes, but I am not sure
that this will be sufficient - maybe there are other files
that are touched by automated processes during the printer
installation / reconfiguration through the web interface...

I think the only important parts in /etc/printcap are those
that reference to the printer filter and those that set some
specific values (resolution etc.); everything else is kept
in the CUPS files, and both places of settings should contain
the same individual data (e. g. same spool dir reference).

If you could take the following example as a starting point
and correct the settings manually so they show the same settings
as what you already have configured in CUPS.


I'm not sure if cap_mkdb has to be run for /etc/printcap.

If you're using a network attached printer, a reference to its
name (known through /etc/hosts mechanism) should be okay.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list