> From [EMAIL PROTECTED] Thu Feb 7 11:21:23 2002
> Date: Thu, 7 Feb 2002 13:32:07 -0500 (EST)
> From: James Thomas Klaas <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: LPRng: lpstat behavior
>
> I have a small issue with lpstat behavior. We have set up our lprng
> clients to talk to printers directly without a central server. This has
> worked out great so far. The only problem I have is that if you
> "lpstat <queue>" and queue doesn't exist, it happily tells you the status
> of the default queue rather than either not returning with any data as
> "lpstat -o <queue>" does or some sort of error like lpq does. Also, as I
> am not familiar with the specification, is lpstat supposed to behave like
> this, or do I need to upgrade to a later version of lprng (I'm using
> 3.7.5). Thanks.
>
> elfin% lpstat caensouth
> JetDirect lpd: no jobs queued on this port
> elfin% lpstat noname
> JetDirect lpd: no jobs queued on this port
> elfin% lpq -P noname
> Printer 'noname@localhost' - cannot open connection - Connection refused
> Make sure LPD server is running on the server
> elfin% lpq -P caensouth
> Printer: caensouth is [EMAIL PROTECTED]
> elfin% lpstat -o noname
> elfin% lpstat -o caensouth
> JetDirect lpd: no jobs queued on this port
>
> James Klaas (734)615-0364
> CAEN Systems Group
> IST 5113
The problem here is that LPSTAT is a 'wimpy' emulation of the
lpstat program and It Is Not All There.
I suggest that you drop the use of lpstat EXCEPT for those programs
that whingingly insist on using it. Users should switch over to
lpq...
Yes, I KNOW that this is not the answer you want. However, making
lpstat configured for all of the various variations of backwards
compatibility will not happen unless somebody with a support
contract invokes the 'development clause'. :-)
Patrick ("Sorry about that...") Powell
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------