As odd as it may sound, this is what i am facing.
I am printing the barcode report to Agrox CP-2140 PPLB label printer.
The paper size is set to 104 mm (W) and 60mm (H).
When print, the label appears in landscape orientation (which is not what i want because it occupies 2 stickers)
When the paper size is set to 104mm (W) and 104mm(H), the label is printed in portrait orientation. However, this is also not desirable because the printer is advancing more empty labels.
I am using Q3 2013 SP1, version 7.2.14.127.
Here is my print code:
I am printing the barcode report to Agrox CP-2140 PPLB label printer.
The paper size is set to 104 mm (W) and 60mm (H).
When print, the label appears in landscape orientation (which is not what i want because it occupies 2 stickers)
When the paper size is set to 104mm (W) and 104mm(H), the label is printed in portrait orientation. However, this is also not desirable because the printer is advancing more empty labels.
I am using Q3 2013 SP1, version 7.2.14.127.
Here is my print code:
m_ReelLabel.UnitOfMeasure = UnitType.Mm;
m_ReelLabel.Width = new Unit(98.0, UnitType.Mm);
DetailSection detail = new DetailSection();
detail.Height = new Unit(50.0, UnitType.Mm);
m_ReelLabel.PageSettings.PaperKind = PaperKind.Custom;
m_ReelLabel.PageSettings.PaperSize = new SizeU(new Unit(104, UnitType.Mm), new Unit(60, UnitType.Mm));
m_ReelLabel.PageSettings.Margins.Left = new Unit(2.0, UnitType.Mm);
m_ReelLabel.PageSettings.Margins.Right = new Unit(2.0, UnitType.Mm);
m_ReelLabel.PageSettings.Margins.Top = new Unit(2.0, UnitType.Mm);
m_ReelLabel.PageSettings.Margins.Bottom = new Unit(2.0, UnitType.Mm);
InstanceReportSource src = new InstanceReportSource();
src.ReportDocument = m_ReelLabel;
PrinterSettings printerSettings = new PrinterSettings();
PrintController standardPrintController = new StandardPrintController();
Telerik.Reporting.Processing.ReportProcessor processor = new Telerik.Reporting.Processing.ReportProcessor();
processor.PrintController = standardPrintController;
processor.PrintReport(src, printerSettings);