From owner-freebsd-questions@FreeBSD.ORG Sat Jul 17 16:40:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7311216A4CE for ; Sat, 17 Jul 2004 16:40:06 +0000 (GMT) Received: from lorna.circlesquared.com (host217-45-219-85.in-addr.btopenworld.com [217.45.219.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82D0843D1F for ; Sat, 17 Jul 2004 16:39:59 +0000 (GMT) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.circlesquared.com [127.0.0.1]) i6HGdcVu000797; Sat, 17 Jul 2004 17:39:38 +0100 (BST) (envelope-from peter@circlesquared.com) Message-ID: <40F9564A.6060602@circlesquared.com> Date: Sat, 17 Jul 2004 17:39:38 +0100 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040611 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Schoolcraft References: <200407170226.19474.ecrist@secure-computing.net> <40F8E080.1010600@circlesquared.com> <20040717082827.S27122@bsd.billschoolcraft.com> In-Reply-To: <20040717082827.S27122@bsd.billschoolcraft.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ecrist@secure-computing.net cc: freebsd-questions@freebsd.org Subject: Re: First time CUPS user, config problems? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2004 16:40:06 -0000 Bill Schoolcraft wrote: > 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 Not on my system: #pkg_info | grep cups cups-base-1.1.20.0 The Common UNIX Printing System: headers, libs, & daemons cups-lpr-1.1.20.0 The CUPS BSD and system V compatibility binaries (lp* comma cups-pstoraster-7.07_1 GNU Postscript interpreter for CUPS printing to non-PS prin and #ls /usr/local/bin/lp* /usr/local/bin/lp /usr/local/bin/lpq /usr/local/bin/lprsetup.sh /usr/local/bin/lpoptions /usr/local/bin/lpr /usr/local/bin/lpstat /usr/local/bin/lppasswd /usr/local/bin/lprm /usr/local/bin/lpunlock I haven't renamed any of these. > > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >