Mark Hewitt wrote:

Hi,

This might be a strange request, and apologies if it is not applicable to this list.

I am desperatly looking for a library that will allow me to reprint HTML report that my program generates.
Essentially all I want to do is take a char* buffer that contains an HTML document and tell the "library" to "print this in landscape withou any user interaction". I don't want any kind of "browser", just a behind the scenes print of a char* buffer.


I was wondering if it would be possible to use the embedded renderer of Mozilla to achieve this?

btw, the system will be running on Windows (98/NT/2000/Xp) primarily.

Many thanks
Mark





I don't know that anyone's ever done this, but in theory you should be able to do this with Mozilla, though to do it you'll probably need to trick Mozilla into displaying the HTML in a hidden window and then telling it to print. Have a look at the embedding API's, and start from there.


http://www.mozilla.org/projects/embedding/

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

Reply via email to