Look at the environment variables passed to the filter process.
You will find the control file name as well as a 'DATAFILES' (?)
value that should give you what you want.

Why not do this in the output filter instead?

Patrick

> From [EMAIL PROTECTED] Fri Oct  3 08:08:19 2003
> Date: Fri,  3 Oct 2003 16:03:27 +0200
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: LPRng: i want to prevent people from printing white pages
>
> Hi,
>
> i'm trying to prevent people from printing white pages.
> i want to do some test in the as script but dont know how
> to access to the file that's beeing printed. i want to test
> the size of the file that is spooled but don't know how to
> access it.
> Any idea ?
>
> thanks,
> Eric PEYREMORTE
>
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
>

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