Hi.

I am using LPRng 3.8.12 (under Solaris 8) and have a problem with
recording accounting information (using :as:). Sometimes I return a
JREMOVE (34) from this filter and I expect that this will remove the
currently queued file from the queue.  But this happens to all my
files except the frist one!

An example (I changed my asfilter to return 34 everytime):

# lpq -Pprinter@printhost

Printer: printer@printhost 'myprinter'
 Queue: no printable jobs in queue


# lpr -Pprinter@printhost .cshrc
# lpq -Pprinter@printhost

Printer: printer@printhost 'myprinter'
 Queue: no printable jobs in queue
 Server: no server active
 Status: keeping error job 'me@clienthost+46' at 22:50:35.467
 Rank   Owner/ID                  Class Job Files                 Size Time
error  me@clienthost+46                U    46 ERROR: job removal requested



# cat status.pr 
waiting for subserver to exit at 2002-07-16-22:50:33.146 ## A=<NULL> number=0 
process=14023
subserver pid 14024 starting at 2002-07-16-22:50:33.236 ## A=me@clienthost+46 
number=46 process=14024
accounting at start at 2002-07-16-22:50:33.236 ## A=me@clienthost+46 number=46 
process=14024
Filter_file: pgm '|/path/bin/asfilter' exited with status 'JREMOVE' at 
2002-07-16-22:50:35.322 ## A=me@clienthost+46 number=46 process=14024
accounting check failed 'JREMOVE' at 2002-07-16-22:50:35.322 ## A=me@clienthost+46 
number=46 process=14024
subserver pid 14024 exit status 'JREMOVE' at 2002-07-16-22:50:35.403 ## A=<NULL> 
number=0 process=14023
keeping error job 'me@clienthost+46' at 2002-07-16-22:50:35.467 ## A=me@clienthost+46 
number=46 process=14023


Why is the job above not being removed??
And the next one:

# lpr -Pprinter@printhost .cshrc

Printer: printer@printhost 'myprinter'
 Queue: no printable jobs in queue
 Server: no server active
 Status: job 'me@clienthost+882' removed at 22:51:17.131
 Rank   Owner/ID                  Class Job Files                 Size Time
error  me@clienthost+46                U    46 ERROR: job removal requested

# cat status.pr 
waiting for subserver to exit at 2002-07-16-22:51:09.970 ## A=<NULL> number=0 
process=15520
subserver pid 15551 starting at 2002-07-16-22:51:10.070 ## A=me@clienthost+882 
number=882 process=15551
accounting at start at 2002-07-16-22:51:10.070 ## A=me@clienthost+882 number=882 
process=15551
Filter_file: pgm '|/path/bin/as2zps' exited with status 'JREMOVE' at 
2002-07-16-22:51:12.283 ## A=me@clienthost+882 number=882 process=15551
accounting check failed 'JREMOVE' at 2002-07-16-22:51:12.284 ## A=me@clienthost+882 
number=882 process=15551
subserver pid 15551 exit status 'JREMOVE' at 2002-07-16-22:51:12.362 ## A=<NULL> 
number=0 process=15520
keeping error job 'me@clienthost+882' at 2002-07-16-22:51:12.427 ## 
A=me@clienthost+882 number=882 process=15520
job 'me@clienthost+882' removed at 2002-07-16-22:51:17.131 ## A=me@clienthost+882 
number=882 process=15957


Oops the second one is being removed like expected.

Is it my fault or does the software show me a feature I don't understand?

ANY hints are welcome!
   --cla

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to