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



Jon,

In the last few years, we had to convert HTML into PDF on Windows, Linux and IBMi. There is many of open source out and licensed products out there that work fine for basic HTML and not so complicated CSS, but none give accurate results. If you want to accurately convert a HTML page into PDF, you'll have to use a browser engine directly, and even so, there is differences on HTML+CSS rendering between the major browsers and their own versions.

For IBMi, I ended using iText which is the lead technology to create PDF documents. If you are interested on take this route, I can share the java mappings that I have, which not all, but they will allow you to embed imaged, create lines, circles, embed external fonts and some other basics.

-Jorge



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Friday, May 20, 2011 8:17 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Printing advice

Many reasons Richard - although that would be an option for the particular job that caused me to post the question - the starting point in many other cases is HTML.

The other issue is that they are Java - and although I could go through the process of prototyping the required methods in RPG I really don't have the time for that right now.


Jon Paris
Partner400.com

Need the best in SQL education? Check out www.DB2foriDirections.com

On May 20, 2011, at 8:40 AM, midrange-l-request@xxxxxxxxxxxx wrote:

Why don't you look into using BIRT or Jasper Reports.

Much easier than hand crafting HTML.


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.