> From [EMAIL PROTECTED] Fri Sep 26 09:08:34 2003
> To: [EMAIL PROTECTED]
> Subject: LPRng: Overview on print jobs
> From: Norbert Hahn <[EMAIL PROTECTED]>
> Date: Fri, 26 Sep 2003 14:49:27 +0200
>
> Hi,
>
> I'm migrating from a very old LPRng (version 3.5.1, dating back to 1997)
> to a more recent version. Most function run fine but I still have troubles
> to get my overview table straight. It looks like
>
> Queue No. of Jobs Printable Held Rec. Error Printing Spooling
> Flags
>
> lcws 4 2 1 1 0 yes yes
> p37 0 0 0 0 0 redirected
>
> This table is generated by a cron job once per minute by evaluating the
> hfA??? and control files in the spool directories.
>
> With newer LPRng version the hfA-files have changed but still contain the
> same information, actually the contain more information. When I wrote the
> old program I tried to evaluate the output of lpq -a but that was no
> fun.
>
> Is there some readable document on the hfA files or is there some other
> tool that may generate such a table?
>
> Norbert
It is in the LPRng Reference Manual.
But briefly:
In the spool queue you have:
control.pr - status of the spool queue
hfXXX - job files
You will find lines with 'printable', 'held' etc. in these files.
You can also try the lpq -v (verbose) option which produces output
in a highly condensed manner.
Patrick
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------