Good day !

I have tried to write codes for a WebBrowser object to make it print a HTML report.

reportBrowser.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER

But I have the following doubts.
1) How can I set the properties of the printed doc ? I mean like the Page Number or Date which is integraetd in IE one ?

2) Can I make it dynamically resize a document so that it can be fit inside a specified paper like A4 ?

3) Where can I find more info on it ? I tried to search MSDN and internet but fail.

Thanks a lot !

SonicWave