Hello everybody
I'm trying to print labels using Telerik.ReportProcessor class and PrintReport() method. It's working almost perfect. But I got one problem: Everytime I try to print a label (only one), it prints two labels. If I try to print 3 labels, it prints 6. It prints always the double of the number of labels I'm trying to print. I tried to resize it to 10px height and 10px width because I thought it's too big. But that didn't help. Doesn't matter how big the label is, it always prints the double.
You can see my C# code here:
PrinterSettings printerSettings = new PrinterSettings();
printerSettings.PrinterName = @"\\bbfs\LA42";
PrintController standardPrintController = new StandardPrintController();
ReportProcessor reportProcessor = new ReportProcessor();
reportProcessor.PrintController = standardPrintController;
InstanceReportSource instanceReportSource = new InstanceReportSource();
instanceReportSource.ReportDocument = myReport;
reportProcessor.PrintReport(instanceReportSource, printerSettings);
Did anyone ever had that problem before or does anyone know the solution? I'm getting stuck on this, it's really annoying and a waste of labels :)
Hope someone can help me.
Regards,
Roman
I'm trying to print labels using Telerik.ReportProcessor class and PrintReport() method. It's working almost perfect. But I got one problem: Everytime I try to print a label (only one), it prints two labels. If I try to print 3 labels, it prints 6. It prints always the double of the number of labels I'm trying to print. I tried to resize it to 10px height and 10px width because I thought it's too big. But that didn't help. Doesn't matter how big the label is, it always prints the double.
You can see my C# code here:
PrinterSettings printerSettings = new PrinterSettings();
printerSettings.PrinterName = @"\\bbfs\LA42";
PrintController standardPrintController = new StandardPrintController();
ReportProcessor reportProcessor = new ReportProcessor();
reportProcessor.PrintController = standardPrintController;
InstanceReportSource instanceReportSource = new InstanceReportSource();
instanceReportSource.ReportDocument = myReport;
reportProcessor.PrintReport(instanceReportSource, printerSettings);
Did anyone ever had that problem before or does anyone know the solution? I'm getting stuck on this, it's really annoying and a waste of labels :)
Hope someone can help me.
Regards,
Roman