title: WebBrowser print settings
body: <p>How ca i change my html document orientation(to Landscape) for printing using WebBrowser control.</p>
  
  <pre><code>var browser = new WebBrowser();
  browser.DocumentCompleted += (sender, args) =&gt;
      {
          var ws = sender as WebBrowser;
          //change paper size and orientation
          ws.Print();
      };
  browser.Navigate(path);
  </code></pre>
  
  <p>I need to change paper size format to C5 and orientation to Landscape before printing.
  How can i do this without any dialogs?</p>