> From [EMAIL PROTECTED] Sun Jun 23 14:05:54 2002 > Date: Sun, 23 Jun 2002 14:05:53 -0700 (PDT) > From: Patrick Powell <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: LPRng: queue files stay forver > > I am posting this to the list as well, as it is an interesting > question. > > > From [EMAIL PROTECTED] Sun Jun 23 03:01:32 2002 > > Date: Sun, 23 Jun 2002 03:01:30 -0700 > > From: Akop Pogosian <[EMAIL PROTECTED]> > > To: Patrick Powell <[EMAIL PROTECTED]> > > Subject: Re: LPRng: queue files stay forver > > > > On Sat, Jun 22, 2002 at 01:51:57PM -0700, Patrick Powell wrote: > > > This is normal... The status has to be put somewhere... > > > > > > Patrick > > > > > > > What's confusing me is that some jobs remain in the queue even after > > some others have been printed afterwards. For example: > > > > $ lpq > > Printer: lp is [EMAIL PROTECTED] > > Printer: panic10@panic 'HP LaserJet 4000DN in 426 Birge (duplex)' > > Queue: no printable jobs in queue > > Server: no server active > > Status: job 'mcargo@panic7+524' removed at 16:09:08.301 > > Filter_status: done at 16:00:01.259 > > Rank Owner/ID Class Job Files Size Time > > error knobloch@panic8+846 A 846 ERROR: job removal requested > > > > knobloch has attempted to print his thing a long while ago and lots of > > people have printed thnigs after than, yet, thit entry still remains > > in lpq output. Shouldn't lpq show the status of the last completed > > job? > > > > -akop > > Hmmm... well well well. This baffled me for a bit until I realized > what was happening and looked at the code again. > > The 'done jobs' code does the following: > > First it generates the 'sorted job order' for display. > > This sorts jobs by 'error jobs' and then 'done jobs' > Note that 'done jobs' come AFTER error jobs. If jobs > are done in job1 job2 ... order then we have > > So we have: error 2 > error 1 > ... > done 3 > done 4 > > Now we run down the list of 'error and done' jobs, and remove > all but N of them: > > error 2 N=1 > > So we have the 'last error job' retained, instead of the last > > 'done job'. > > Grrrr.... I really need to sort the jobs by 'completion time' and then > remove all but the last N jobs... > > I have put this on the 'TO DO' list and it will get done soon. > > Patrick Powell Astart Technologies, > [EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D, > Network and System San Diego, CA 92123 > Consulting 858-874-6543 FAX 858-279-8424 > LPRng - Print Spooler (http://www.lprng.com) >
OK, I figured this out while in NY, and tried a fix. Will put into the next release. 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. -----------------------------------------------------------------------------
