After installation, a few files must edited in order to
configure the CUPS server. First,
create or modify, as the case may be, the file
/etc/devfs.rules
and add the following
information to set the proper permissions on all potential printer
devices and to associate printers with the
cups
user group:
X
.Y
.Z
' mode 0660 group cupsNote that X
,
Y
, and Z
should be replaced with the target USB device listed in the
/dev/usb
directory that
corresponds to the printer. To find the correct device, examine
the output of dmesg(8), where
ugen
lists the printer device, which is a symbolic link to a USB
device in X
.Y
/dev/usb
.
Next, add two lines to /etc/rc.conf
as
follows:
These two entries will start the CUPS print server on boot and invoke the local devfs rule created above, respectively.
In order to enable CUPS printing
under certain Microsoft® Windows® clients, the line below should
be uncommented in
/usr/local/etc/cups/mime.types
and
/usr/local/etc/cups/mime.convs
:
Once these changes have been made, the devfs(8) and CUPS systems must both be restarted, either by rebooting the computer or issuing the following two commands in a root terminal:
#
/etc/rc.d/devfs restart
#
/usr/local/etc/rc.d/cupsd restart
This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/
For questions about FreeBSD, read the
documentation before
contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.