Prints the document currently displayed in the System.Windows.Forms.WebBrowser control using the current print and page settings.
You can use this method to implement a Print button similar to the one in Internet Explorer. This method prints the current document without requiring further user input. To display the Print dialog box prior to printing, use the WebBrowser.ShowPrintDialog method. To display the Page Setup dialog box, which lets your users specify header and footer values and other page settings, use the WebBrowser.ShowPageSetupDialog method. To display the Print Preview dialog box, use the WebBrowser.ShowPrintPreviewDialog method.