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



Hi Terry,

>
> Is there a way to print an existing pdf document from the ifs using ile or
> cl program?
>

Hmmm... I'm not exactly sure what you mean by "ILE or CL."  Do you mean
that the program needs to be written in ILE CL?  If so, I think you're out
of luck. Interpreting a PDF document would be extremely difficult to do in
CL, it's just too complex.

The only way that I know of to read a PDF file on the iSeries, is to use
Ghostscript to convert it from PDF to a printer's language...  read the
results of that into an RPG or C program, and then copy them to a
*USERASCII print file.

However, Ghostscript doesn't run in an ILE language, you have to run in it
PASE if you want to use it on the iSeries.

Alternately, you could just get a printer that natively understands PDF
documents, and copy them as-is without Ghostscript.

Even better than Ghostscript would be Acrobat, but as far as I know, you
can't make Acrobat Reader run on the iSeries.  (Unless there's an AIX
version that works in PASE? But even so, it probably won't understand the
correct printer output, unless of course you have a PostScript printer...)

Oh well, I'm probably over-analyzing this.

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.