PDA

Click to See Complete Forum and Search --> : Changing the Page Setup when printing from WebBrowser.


Greg!
Oct 17th, 1999, 10:25 PM
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!

TheLeeMan
Oct 18th, 1999, 06:57 AM
I doubt you can.

Lloyd
Oct 18th, 1999, 08:25 PM
I poked through the webBrowser Control and couldn't find anything that does with the Page Setup. Sorry :(

Lloyd