From owner-freebsd-questions Mon Jan 21 18:29:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 927BC37B402 for ; Mon, 21 Jan 2002 18:29:48 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id g0M2TXi24306; Mon, 21 Jan 2002 21:29:33 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20020120172600.20898d27.erichey2@attbi.com> References: <20020120172600.20898d27.erichey2@attbi.com> Date: Mon, 21 Jan 2002 21:29:32 -0500 To: Collins Richey , bsd From: Garance A Drosihn Subject: Re: lpstat connection refused Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.1 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 5:26 PM -0700 1/20/02, Collins Richey wrote: >I managed to setup my printer (laserjet) using the samples in the >handbook, and it is working for both plain text and .ps files. > >Whenever I execute 'lpstat' or 'lpstat -p', I get > > lpstat: Unable to connect to server: Connection refused > >How can I fix this? I am not sure why you're using 'lpstat', as that is not installed as part of the base freebsd OS. If you are using the base OS, then you would want to use 'lpq -Pqname', where 'qname' is the name of the print queue that you want to check. On the other hand, you obviously *have* some version of lpstat installed, so it might be that you are using one of the alternate print-systems available via ports. This would most likely be CUPS or lprNG. If you have installed one of those, then which one are you running? -- Garance Alistair Drosehn = gad@eclipse.acs.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