SAP Knowledge Base Article - Public

2284617 - Print from a Visual Studio WPF viewer will not print a landscape report


Print from WPF viewer will not print a landscape report


Crystal reports for Visual Studio

Visual Studio 2013

Reproducing the Issue

Create a simple report and format the page to landscape

Create a simple WPF app in VS 2013 and try to print that report:

private void button5_Click(object sender, RoutedEventArgs e)

{ CrystalDecisions.CrystalReports.Engine.ReportDocument doc = new Cryst CrystalDecisions.CrystalReports.Engine.ReportDocument();




As a temporary work around disable the print button in the WPF viewer and add your own using

doc.PrintToPrinter(1, true, 1, 1); }



Issue has been fixed in SP 17 for Windows 10 only.

Downloads for Service Packs are here:

New case will be created for Windows Server 2012 R2.


KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem


SAP Crystal Reports, developer version for Microsoft Visual Studio