Hi,
I can print HTML documents from my WebBrowser control using

webBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER

But does anyone know how to change the 'page setup' in code before you print.
I want to change the headers and footers and set the margins. I'm using VB 5.
Thanks,
Greg!