Brian Havard wrote:
Jan Schukat <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...

Kai Ruhnau wrote:


Hi,

I'm currently searching for a tool, that can convert a HTML4.0+CSS page
into a printable format (ps for example). I was hinted to the gecko engine
that can already do these things when embeded for example in mozilla.

Is it possible to implement a commandline-tool out of mozilla without all
of the graphical overhead, that "simply" ;) renders the page in memory and
outputs it into - say - a ps-file?

Every tool that is currently out there only supports limited html and
virtualy no css.

Yes, it is possibble to do. Many of the test apps in the mozilla source tree are mere console apps. But none of them can create ps files though.


I'm wanting to do something similar. I need to convert an HTML
document into a series of bitmaps, one per page. I've been digging
through the various classes & interfaces in Mozilla but am having
trouble figuring out just how to go about it. Can anyone give me some
hints?

Of cource, it's an oftopic, but try to find khtml2png on freshmeat.net. It converts html documents to png images with the help of KHTML library. It's a command line utility.


Michael
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to