I am printing an HTML file by using the WebBrowser Control, but I want to force it to print landscape. I thought the following might do the trick but it didn't
Dim ps As New System.Drawing.Printing.PrinterSettings
ps.DefaultPageSettings.Landscape = True
WebBrowser1.ShowPrintDialog()
Is there any way of doing this that doesn't resort to SetPrinter APIs?