I'm using the following code to try to render a Telerik sample report from an ASP MVC Web app and a Console app directly to a printer with no UI. The report prints, but it is scaled about 50% and I don't know why. Running from a WPF app or Windows Service it prints nicely. Why might this be?
Telerik.Reporting.IReportDocument report =
new
ListBoundReport();
// The standard print controller comes with no UI
System.Drawing.Printing.PrintController standardPrintController =
new
System.Drawing.Printing.StandardPrintController();
var processor =
new
ReportProcessor();
processor.PrintController = standardPrintController;
Telerik.Reporting.InstanceReportSource instanceReportSource =
new
Telerik.Reporting.InstanceReportSource();
instanceReportSource.ReportDocument = report;
var settings =
new
PrinterSettings();
processor.PrintReport(instanceReportSource, settings);