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



But if you are creating the HTML with RPG then I am unfamiliar with the
mechanisms
you have available to redirect the output stream. Perhaps not so easy in
RPG?

In this case the customer is using CGIDEV2 which can compose HTML to an IFS
file. I was then going to build a Java program that would accept two parms:
parm1=/path/to/myfile.html and parm2=/path/to/mynewfile.pdf.

If I build something that doesn't already exist, then I will forward you
that work so you can use it in your COMMON presentation if it fits.

Aaron Bartell
http://mowyourlawn.com
http://mowyourlawn.com/blog/


On Thu, Feb 25, 2010 at 10:43 AM, Pete Helgren <Pete@xxxxxxxxxx> wrote:

I would have leaned to iText but they also recently changed their
licensing model so that may or may not work, in addition to your
experience with HTML to PDF conversion (I haven't tired it).

Depending upon how you create the HTML, the output to PDF can be easy to
hard. I use Java and FreeMarker for almost all of my web development,
so directing the output to the servlet for HTML or to a PDF an then to
the servlet for "printed" forms has always been pretty easy. But if you
are creating the HTML with RPG then I am unfamiliar with the mechanisms
you have available to redirect the output stream. Perhaps not so easy
in RPG?

But, you have given me an idea of what to add to my Common Presentation
on Open Source Report Writing Tools. Let me know what you come up with
but I'll see what I can do as well.

Pete




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.