From owner-freebsd-questions@FreeBSD.ORG Fri Feb 16 02:46:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90BA516A407 for ; Fri, 16 Feb 2007 02:46:50 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from smtp6.server.rpi.edu (smtp6.server.rpi.edu [128.113.2.226]) by mx1.freebsd.org (Postfix) with ESMTP id 45B7213C491 for ; Fri, 16 Feb 2007 02:46:50 +0000 (UTC) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp6.server.rpi.edu (8.13.1/8.13.1) with ESMTP id l1G1X1l2027450; Thu, 15 Feb 2007 20:33:02 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <20070216003245.GA30876@hbfun.org> References: <20070216003245.GA30876@hbfun.org> Date: Thu, 15 Feb 2007 20:33:01 -0500 To: Gary Schenk , freebsd-questions@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-RPI-SA-Score: undef - spam scanning disabled X-CanItPRO-Stream: default X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.226 Cc: Subject: Re: lpr on KDE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2007 02:46:50 -0000 At 7:32 PM -0500 2/15/07, Gary Schenk wrote: >When trying to print from KDE applications, I get the following error: >"/usr/local/bin/lpr: Connection refused" This is on a new install of >6.2-RELEASE. KDE was installed from a package during install. Printing >works fine from the commandline as root and user. > >Googling around, one suggested fix was to recompile /usr/ports/x11/kdelibs3 >with WITHOUT_CUPS. I ran "make -DWITHOUT_CUPS install" and that went quite >well. I rebooted the machine just to make sure everything restarted. Still >no joy trying to print with KDE. Did you also *remove* the version of CUPS which got installed? If not, you probably still have /usr/local/bin/lpr as the CUPS-based version of lpr. >Any suggestions as to the next step? Would making some sort of link >between /usr/local.bin.lpr and /usr/bin/lpr work? My guess is that you're getting the CUPS-version of `lpr', but you're still running the standard daemon for FreeBSD's `lpr'. The simple test would be to: mv /usr/local/bin/lpr /usr/local/bin/lpr-cups and then try printing from kde. If that solves your problem, then move that binary back to /usr/local/bin/lpr, find out which of the CUPS-related ports you have installed, and pkg_deinstall them. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu