in reply to PDF printing of Webpage

You can automate OpenOffice and it has an "export as PDF" option. See the JODConverter (for Java) and PyODConverter (for Python) - you just need to port this to Perl.

The setup and inner workings of PyODConverter are described on that page, and if you can't understand the Python code you can still use a network sniffer to find out how the UNO protocol works.

Replies are listed 'Best First'.
Re^2: PDF printing of Webpage
by bart (Canon) on Aug 10, 2007 at 10:31 UTC
    OpenOffice to render HTML pages??

    If it even works (I've already voiced my concern in personal communications), it'll probably won't "meet the expectations" either.

      I guess any static medium won't meet the criteria of "extensive JavaScript", but then again, I'm only offering possible solutions that haven't been mentioned yet. I guess that OpenOffice, like its role model, MS Word, can read http:// URLs and also can read and render HTML files (and likely does a job just as botched as Word does).

        Is there any possibility to use Gecko rendering engine from Mozilla via Perl?
        --Artist