Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: PDF printing of Webpage

by Corion (Patriarch)
on Aug 09, 2007 at 21:06 UTC ( [id://631662]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://631662]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-23 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found