× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.