Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2004 08:34:04 -0700 (PDT)
From:      Bill Schoolcraft <bill@wiliweld.com>
To:        Peter Risdon <peter@circlesquared.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: First time CUPS user, config problems?
Message-ID:  <20040717082827.S27122@bsd.billschoolcraft.com>
In-Reply-To: <40F8E080.1010600@circlesquared.com>
References:  <200407170226.19474.ecrist@secure-computing.net> <40F8E080.1010600@circlesquared.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sat, 17 Jul 2004 it looks like Peter Risdon composed:

> Cups installs /usr/local/bin/lp and /usr/local/bin/lpr and leaves
> /usr/bin/lp and /usr/bin/lpr in place. Back these up, symlink the cups
> versions into their places and try again.
>

If I'm not mistaken, cups does install "lpr" and "lprm" and "lpq" ..... but
I believe they have the following names

	lpr.cups
	lprm.cups
	lpq.cups

In the past I've renamed the original files that were there already:

	mv lpr lpr-ORIG
	mv lprm lprm-ORIG
	mv lpq lpq-ORIG

Then I create the symlinks so any programs "looking" for the original
names, and alot do, find the cups version through the re-direction that
occurs via symlinks.

	ln -s lpr.cups lpr
	ln -s lprm.cups lprm
	ln -s lpq.cups lpq

Of course this is done "inside" the directory where the files reside.

--
Bill Schoolcraft
PO Box 210076                 -o)
San Francisco CA 94121         /\
"UNIX, A Way Of Life."        _\_v

http://billschoolcraft.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040717082827.S27122>