|
-
Oct 14th, 2004, 07:08 AM
#1
Thread Starter
New Member
Web Browser Printer setup via VB
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|