Hi,
I am opening am HTML file in a form(VB) using the webbrowser control. It is generating it perfectly and to a print out of the HTML via VB I have used the following :
WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DODEFAULT. Till this point everything is perfect.

What i need to to set the properties of the printer before I send it to print, basically I want to run :
WebBrowser1.ExecWB OLECMDID_PAGESETUP, OLECMDEXECOPT_DODEFAULT,

and set the different properties like page margin or header/footer but without the user seeing the page set up dialog box or allowing him to change it.
Is this possible via VB, if yes how?

Thanks in advance.

-Regards
Subho