Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 21:29:32 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Collins Richey <erichey2@attbi.com>, bsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: lpstat connection refused
Message-ID:  <p05101202b8727e6521ee@[128.113.24.47]>
In-Reply-To: <20020120172600.20898d27.erichey2@attbi.com>
References:  <20020120172600.20898d27.erichey2@attbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05101202b8727e6521ee>