How ca i change my html document orientation(to Landscape) for printing using WebBrowser control.
var browser = new WebBrowser();
browser.DocumentCompleted +
To control HTML printing layout beyond @media CSS with WebBrowser
(both WinForms and WPF), you would need to implement your own Internet Explorer Print Template. That would provide full control over headers, margins, columns, etc.
Specifically, you're after TemplatePrinter.orientation. It isn't properly documented, but it works. The source of the standard IE print template can be viewed when navigated to res://ieframe.dll/preview.dlg
.
Some other relevant resources: