From owner-freebsd-questions Sun Oct 6 23:18:22 2002 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 BEEE037B401 for ; Sun, 6 Oct 2002 23:18:20 -0700 (PDT) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38A5D43E8A for ; Sun, 6 Oct 2002 23:18:18 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g976IEMQ032740; Mon, 7 Oct 2002 02:18:14 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <3DA077E5.6070605@trini0.org> References: <3DA077E5.6070605@trini0.org> Date: Mon, 7 Oct 2002 02:18:13 -0400 To: Gerard Samuel , FreeBSD Questions From: Garance A Drosihn Subject: Re: Help debugging printing Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 1:50 PM -0400 10/6/02, Gerard Samuel wrote: >I setup and installed a printer yesterday, and installed LPRng and >apsfilter from ports (fresh cvsup), and had apsfilter print out that >funky test page. In continuing the setup the box, I am trying to >print a file, and getting these results -> >---------------- >hivemind# lpr lprng.sh >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. This probably means you are executing the version of 'lpr' which is in the base system, which is not the version from lprNG. You would want to get the version in /usr/local/bin/lpr. >----------------- >The lpd daemon is running. >hivemind# ps aux | grep lpd >daemon 530 0.0 0.3 1476 1096 ?? Is 1:07PM 0:00.00 lpd: >lpd Waiting (lpd) I expect this is the version of lpd that comes with lprNG (which, of course, is what you wanted). The base-system lpr will not work with it. >I ran LPRng's checkpc utility and got this -> >hivemind# checkpc >Warning - lp: cannot open lp device '/dev/ulpt0' - Permission denied > >I know for a fact that /dev/ulpt0 exists, so I deleted it and >created it again. >hivemind# rm ulpt0 && ./MAKEDEV ulpt0 && ls -al ulpt0 >crw------- 1 root wheel 113, 0 Oct 6 13:46 ulpt0 > >Does anyone know where my problem may be?? This part is all lprNG specific, so I have no idea what you need to do. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message