Hello, my problem is when I try to generate printout in c# app, design in Designer to trap file, the final generated printout looks like scaled in plus.
My target is to get 95 mm x 44 mm label, and this one is designed, in Designer, printout is fine. When I try to print is by below code, label Paper Size looks like scaled. How to set paper size or fix my problem?
Code:
string path = HostingEnvironment.MapPath(@"~/Content/printouts/packageLabel.trdp");
System.Drawing.Printing.PrinterSettings printerSettings = new System.Drawing.Printing.PrinterSettings();
printerSettings.PrinterName = "Bullzip PDF Printer";
System.Drawing.Printing.PrintController standardPrintController = new System.Drawing.Printing.StandardPrintController();
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
reportProcessor.PrintController = standardPrintController;
UriReportSource reportSource = new UriReportSource();
reportSource.Uri = path;
reportProcessor.PrintReport(reportSource, printerSettings);