Hello there,

I'm running an acconting script written in Python via the ifhp-filter option:

accounting=/usr/local/libexec/filters/accounting_script.py

Python needs some Environment-Variables to work correct.
(LD_LIBRARY_PATH and PYTHONPATH).
I was able to set LD_LIBRARY_PATH to what I wanted modifying /etc/lpd.conf
and therein filter_ld_path correctly.
But it seems as if there is no possibility to set a completely new
environment-variable
here. I used to fix similar problems with the apache server modifying
httpd.conf
and using the setenv directive.
Is there a possibility to set new environment variables for the
environment, the
filters of LPRng are running in?

Thanks for any tip

Peter

---------------------------------------------------------------------
Peter Breuer, http://www.psych.uni-goettingen.de/home/breuer
Georg-Elias-Mueller-Inst. f. Psychologie, Gosslerstr. 14, 37073 Goettingen,
Germany
Tel: (+49)551-39-3588,  Fax: (+49)551-39-3662



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