From owner-freebsd-questions Sun Sep 3 12:21: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ipamzlx.physik.uni-mainz.de (ipamzlx.Physik.Uni-Mainz.DE [134.93.180.54]) by hub.freebsd.org (Postfix) with ESMTP id ECCF837B424 for ; Sun, 3 Sep 2000 12:21:00 -0700 (PDT) Received: from ipamzlx.Physik.Uni-Mainz.DE (ipamzlx.Physik.Uni-Mainz.DE [134.93.180.54]) by ipamzlx.physik.uni-mainz.de (8.11.0/8.9.3) with ESMTP id e83JNRG46444 for ; Sun, 3 Sep 2000 21:23:28 +0200 (CEST) (envelope-from ohartman@ipamzlx.physik.uni-mainz.de) Date: Sun, 3 Sep 2000 21:23:27 +0200 (CEST) From: "O. Hartmann" To: freebsd-questions@freebsd.org Subject: Questions on ENVIRONMENT variables in printing system Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Sirs. I use "magicfilter" out of the ports-collection with great success, but I have a general problem with environment variables like PATH etc. when using piping or filtering through some applications. I preprocess my PS-Input with psset from the a2ps-suit to set some setpagedevice-options for duplex-printing or tray selections. psset calls fixps after it has performed its tasks, but fixps isn't fiund at all because the environment within magicfilter works seems not to know anything outside the pathes /bin, /usr/bin, /sbin and /usr/sbin. I see no possibility at this moment to use a workaround by filtering through files. I got rid of thsi problem by symlinking fixps from /usr/loal/bin to /usr/bin, but this is not the way of elegance. How can I pass environment variables to the lpd-system and so far for the magicfilter? Is this set up by some specifications in /etc/login.conf? Thanks in advance, Gruss O. Hartmann ------------------------------------------------------------------- ohartman@ipamzlx.physik.uni-mainz.de Klimadatenserver des IPA, Universitaet Mainz Netzwerk- und Systembetreuung To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message