Re: using cupsd instead of base lpr [was Re: [HEADS UP] Kernel modules don't work properly in FreeBSD 8.1-RC1 (solved)]

From: Ed Schouten <ed_at_80386.nl>
Date: Thu, 24 Jun 2010 15:21:54 +0200
* Andrew Reilly <areilly_at_bigpond.net.au> wrote:
> On Thu, Jun 24, 2010 at 09:23:37AM +0200, Gary Jennejohn wrote:
> > in /etc/src.conf - WITHOUT_LPR=yes
> > 
> > and these symbolic links in /usr/bin
> > lrwxr-xr-x  1 root  wheel      17 Mar 18  2009 /usr/bin/lp -> /usr/local/bin/lp
> > lrwxr-xr-x  1 root  wheel      24 Mar 18  2009 /usr/bin/lpoptions -> /usr/local/bin/lpoptions
> > lrwxr-xr-x  1 root  wheel      18 Mar 18  2009 /usr/bin/lpq -> /usr/local/bin/lpq
> > lrwxr-xr-x  1 root  wheel      18 Mar 18  2009 /usr/bin/lpr -> /usr/local/bin/lpr
> > lrwxr-xr-x  1 root  wheel      19 Mar 18  2009 /usr/bin/lprm -> /usr/local/bin/lprm
> > lrwxr-xr-x  1 root  wheel      21 Mar 18  2009 /usr/bin/lpstat -> /usr/local/bin/lpstat
> > 
> > and /usr/bin is _before_ /usr/local/bin in my PATH.
> 
> Since you have /usr/local/bin in your path, why bother with
> the symlinks at all?  Your shell will find them in their new
> locations just fine.  You'll want to remove the old ones from
> /usr/bin, but make delete-old will probably do that nicely
> anyway.

In theory, yes. In practice, no. Just for fun, remove your
/usr/sbin/sendmail while having Postfix's /usr/local/sbin/sendmail
installed. It simply won't work. If I remember correctly, you won't even
receive the periodic(8) emails.

Nowadays it's probably better, but I remember in the old days GNOME
would always print through /usr/bin/lpr, even when CUPS is installed.

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Thu Jun 24 2010 - 11:21:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC