> Yes.  The problem here is that some filters INSISTED on an AF file
> and they broke hard,  big time.  I spent 2 weeks working on this stuff
> before I gave up.


Let me get this straight:

1.  AF can no longer be a filter, it can only be a file or host%port
2.  AS can be a filter and uses an exit status to say yes or no to printing
3.  AE can be a filter but only gets the accounting end bit from LPRng
4.  The OF and IF filter get a file (if anything) on file descriptor 3 never
    the AS or AE filters.
5.  ifhp can run a filter as its accounting and will get the log lines.
    The filter is opened once per log line.


Can I use the ifhp accounting filter to abort a job?  I'm wondering
whether that's the place to do the following:

1.   If the student is over quota then generate an "over quota" sheet
     on the printer and abort their job.
2.   If the student is under quota then printer a banner with their quota
     on it and then print their job
3.   At the end of the job update the databases.

I wasn't able to do this before because the AF filter didn't have access to
the printer, but maybe that isn't true for the ifhp acounting script?


-- 
  ______    Internet  :[EMAIL PROTECTED]   Jonathan Knight,
    /                                            Department of Computer Science
   / _   __ Telephone : +44 1782 583437          University of Keele, Keele,
(_/ (_) / / Fax       : +44 1782 713082          Staffordshire.  ST5 5BG.  U.K.

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