title: Change Window.print() paper orientation
body: <p>I want to change paper mode (orientation) on the window print. I want to change it programatically but i could not find anything.</p>
  
  <blockquote>
    <p>window.print()</p>
  </blockquote>
  
  <p>But i do not know , how can i do it.</p>
  
  <pre><code>@media print{@page {size: landscape}}
  </code></pre>
  
  <p>I dont need it.</p>
  
  <pre><code>    function printWindow()
      {
          window.print({
          /*
          some code here?
          */
          });
  }
  </code></pre>