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



Aaron Bartell schrieb:
I have a customer that needs to take an auto insurance form that was built
with HTML and convert it to PDF so it can be emailed to the customer after
they write the policy. The HTML is created and now I have been tasked with
converting it to PDF.

The main requirement is that everything must run on the IBMi which means I
am looking for a Java tool to accomplish this most likely. There are a
number of tools out there (both free and commercial) and I am wondering if
others have attempted to do this and what you ended up choosing for a
solution. Here are some of the solutions I am looking at right now:

Well, depends on the HTML - if it's rather basic (i.e. no fancy CSS based design) I'd try it with Apache FOP (but I'm biased ;-).
First run the html through tidy or nekoXML to get a well-formed xml. Then you can use FOP together with an (x)html2fo.xsl stylesheet to produce an PDF.

Another idea is to use a java based HTML renderer. Flying Saucer (https://xhtmlrenderer.dev.java.net) seems to support even PDF output, so this sounds like a good solution.


Christian


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.