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
[EMAIL PROTECTED]

_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to