Web Browser Control Printing 
Author Message
 Web Browser Control Printing

Can anyone tell me how to remove the Header and URL footer when print a web
page.  Im cuurntly using the following command:

webBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, 0, 0

Any help would be appreciated!

Bill O'Neil



Mon, 08 Sep 2003 05:52:11 GMT  
 Web Browser Control Printing
Hi Bill,

Start up Internet Explorer on the machine that you are using your program
on - from the File Menu, choose page Setup and then delete the settings on
that page. Not sure how to do this programatically on a page by page basis
if that is what you are after.

Best wishes

Paul Bromley


Quote:
> Can anyone tell me how to remove the Header and URL footer when print a
web
> page.  Im cuurntly using the following command:

> webBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, 0, 0

> Any help would be appreciated!

> Bill O'Neil



Wed, 10 Sep 2003 06:38:34 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Web Browser Control Printing

2. Web Browser Control print

3. Making the Web Browser Control Print

4. Printing a Web Page in Web Browser Control

5. Print Contents of the Web Browser Control From VB.NET

6. Need to call Print Preview GUI in IE from Web Browser control

7. Printing from the Web Browser Control

8. Printing via Web browser control

9. Printing web browser control

10. Printing in Web Browser Control

11. Printing via Web browser control

12. Printing With the Web Browser Control

 

 
Powered by phpBB® Forum Software