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



Hold on a sec...

On Wed, Aug 19, 2015 at 1:35 PM, Dean Eshleman
<Dean.Eshleman@xxxxxxxxxxxx> wrote:
I was looking at using iText to do the conversion from HTML to PDF, but since my Java is quite limited, I'm struggling with how to go about that.

Since Python is now supported on the IBM I, I was curious if Python had a method for converting HTML to a PDF.

So you're not comfortable enough with Java... yet you're apparently OK
with Python? Are you actually already comfortable with Python, or do
you just figure that learning "enough Python" from scratch is easier
than learning "enough Java" from scratch?

Apparently it does, based on some internet searches I've done. As always though, the devil is in the details.

In my last post I expressed concern that the Python packages would
have C dependencies. That's still true, but I looked slightly (very
slightly!) closer and have come to the conclusion that if your needs
are simple enough, xhtml2pdf might just work, even without a C
compiler.

That package has two main dependencies, ReportLab and html5lib. Both
are designed to work even without their C portions (albeit with
reduced features and/or performance).

John Y.

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.