|
On Tue, 12 Mar 2002, Scott Klement wrote:
> The ideal solution would be for lp5250d to somehow pass the correct map
> info to scs2pdf and friends. Maybe it should set an environment variable?
Yup, that is what we need.
> Using the "command-line argument" approach, it would look more like this:
>
> printer {
> host = as400
> env.DEVNAME=foo
> map=297
> outputcommand = scs2pdf map=297 > /home/bar/as400pdf-$$.pdf
> }
>
> It just seems more intuitive to not have to specify the map in two
> different places.
Why the map=297 line by itself? If it is a command line argument then
shouldn't the map=297 argument in the outputcommand argument be enough?
I still prefer environment variable, though. It seems to me that in the
future we would want the ability to change the behavior of scs2* without
restarting lp5250d. An environment variable would allow that.
James Rich
james@eaerich.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.