Hi there
I'm trying to print a report with some data from our system on it. The report should be printer as a label. The label has a width of 102mm and a height of 102mm. I'm using this code to print the label:
01.IReportDocument repDocList = new AddrLabel();02. 03.// set printer settings04.PrinterSettings printSet = new PrinterSettings();05.printSet.Copies = 1;06.printSet.PrinterName = LabelPrinterName;07. 08.// create print controller09.PrintController printCtrl = new StandardPrintController();10. 11.// create report processor12.ReportProcessor repProc = new ReportProcessor();13.repProc.PrintController = printCtrl;14. 15.InstanceReportSource repSrc = new InstanceReportSource();16.repSrc.ReportDocument = repDocList;17. 18.// print report19.repProc.PrintReport(repSrc, printSet);The report contains text and image. I attached two images. One image is the expected report how it should be printed on the label. We printed that manually on windows photo gallery application to test if our printer is able to print images properly. The second image is how the telerik report is printed. As you can see it doesn't print the image properly (only black & white). It also prints the report on two pages and moves it down and to the right.
I'm wondering if it's possible to print a report on a label and if yes: how?
We're using a TSC TC310 label printer.
Best Regards,
Roman
