× 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 Sat, 1 Sep 2007, Mitch Martin wrote:

First of all, thanks to the tn5250 developers and the users whom have
contributed to this mailing list. With this great utility, the list
archives and the TN5250 HOWTO guide, I have setup a Linux server running
multiple print sessions to our IBM i5. Previously, these were IBM
Client Access print sessions on a Windows 2000 server. Thanks to all!!!

Cool!

The following command is what I think is supposed to work, but doesn't.
It is all one long command and I don't use Duplex for the .tiff file.
As you can see, I try to make use of the '-' character for stdin and
stdout as per the enscript and ghostscript manuals.

outputcomand = scs2ascii | enscript -B -f Courier7 --margins=36::36:
-r --output=- | gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -r300
-sOutputFile=/home/user/test.tiff -

I think this should work, but you probably need to use double quotes like this:

outputcomand = scs2ascii | "enscript -B -f Courier7 --margins=36::36: -r --output=- | gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -r300 -sOutputFile=/home/user/test.tiff -"

Try that and let me know if it fixes it for you.

If that doesn't work I can look at scs2ps and see what needs to be done to get it to output better postscript. I think that it has just been sort of ignored and can be improved without too much effort.

James Rich

It's not the software that's free; it's you.
- billyskank on Groklaw

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.