From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 16:39:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FB5616A420 for ; Tue, 12 Feb 2008 16:39:18 +0000 (UTC) (envelope-from michael.ross@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 96F4313C500 for ; Tue, 12 Feb 2008 16:39:16 +0000 (UTC) (envelope-from michael.ross@gmx.net) Received: (qmail invoked by alias); 12 Feb 2008 16:39:14 -0000 Received: from e176173243.adsl.alicedsl.de (EHLO localhost) [85.176.173.243] by mail.gmx.net (mp020) with SMTP; 12 Feb 2008 17:39:14 +0100 X-Authenticated: #11429267 X-Provags-ID: V01U2FsdGVkX1851wsHueQ5XxcXEebU3ayS3MdHu9ujzeJL9baJ0Q Y0jI7d3nK7uGmD To: stevefranks@ieee.org, "User Questions" From: "Michael Ross" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 References: <539c60b90802120829s26b74c0fp5856d7866bfcd51d@mail.gmail.com> Content-Transfer-Encoding: 7bit Date: Tue, 12 Feb 2008 17:39:12 +0100 Message-ID: In-Reply-To: <539c60b90802120829s26b74c0fp5856d7866bfcd51d@mail.gmail.com> User-Agent: Opera Mail/9.25 (FreeBSD) X-Y-GMX-Trusted: 0 Cc: Subject: Re: cups printing with command-line lpr apps (i.e. enscript) 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: Tue, 12 Feb 2008 16:39:18 -0000 Am 12.02.2008, 17:29 Uhr, schrieb Steve Franks : > I get the following: > >> nenscript "a.cpp" > lpr: Unable to connect to /var/run/printer: No such file or directory > lpr: Check to see if the master 'lpd' process is running. > jobs queued, but cannot start daemon. >> Exit code: 0 > > How do I bolt that up to cups? Maybe you ran into the same thing as I did a few days ago: Cups comes with its own lpr, /usr/local/bin/lpr. The apps try the base system lpr in /usb/bin. You may have to adjust your $PATH to have /usr/local/bin first, or backup /usr/bin/lpr and ln -s /usr/local/bin/lpr /usr/bin/lpr Last method has to be repeated after any installworld. Michael