Subject: Re: Using CUPS
To: Jon Drews <jon.drews@gmail.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 03/20/2006 09:55:53
On Mon, 20 Mar 2006 07:47:15 -0700, "Jon Drews" <jon.drews@gmail.com>
wrote:

> NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005  builds@works.netbsd.org
> cups-1.1.23nb7
> 
> Hi:
> 
>  I need some advice on using CUPS. I have it installed and working
> here but I am not sure if I am doing this correctly. I did Google for
> help and tutorials on setting up CUPS but all I found was this old
> one:
> http://www.silbsd.org/CUPS-NetBSD_landscape.html
> 
> 1) Should CUPS be started by rc.local? I have this in my /etc/rc.local file:
> 
> if [ -f /usr/pkg/sbin/cupsd ]; then
>         /usr/pkg/sbin/cupsd -c /usr/pkg/etc/cups/cupsd.conf
> fi
> 
>  It used to be that the cupsd was located in /usr/pkg/etc/rc.d. Is
> this location no longer being used?

It's in /usr/pkg/share/examples/rc.d/cupsd; copy it to /etc/rc.d
> 
> 2) Is there a recent tutorial or FAQ on setting up CUPS, on NetBSD and
> DragonFly BSD?
> 
IIt mostly just works, though I've had to 'chmod 0' /usr/bin/lp*
and /usr/sbin/lp*.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb