title: Cannot print a document with landscape orientation under Windows 8 (WPF, .NET 4.0)
body: <p>I have some simple WPF (.NET 4.0) application that works differently on Windows 7 and Windows 8.1. If I print a document and select Landscape orientation in Print Dialog or in code as shown below, Windows 8.1 truncates it (on the printer) as it would be portrait. (I have not seen this effect before under Windows 7).</p>
  
  <pre><code>    private void Print_Click(object sender, RoutedEventArgs e)
      {
          PrintDialog printDialog = new PrintDialog();
  
          printDialog.PrintQueue = System.Printing.LocalPrintServer.GetDefaultPrintQueue();
          printDialog.PrintTicket = printDialog.PrintQueue.DefaultPrintTicket;
  
          printDialog.PrintTicket.PageOrientation = System.Printing.PageOrientation.Landscape;
  
          if (printDialog.ShowDialog()??false)
          {
              //... ometed some code here
  
              GridPaginator paginator = new GridPaginator(...);
  
              printDialog.PrintDocument(paginator, "MyApp");
          }
      }
  </code></pre>
  
  <p>Any ideas, what was changed in Windows?</p>