Telerik.ReportProcessor label printing: ReportProcessor prints two labels instead of one

4 posts, 1 answers
  1. Roman
    Roman avatar
    4 posts
    Member since:
    Aug 2014

    Posted 03 Sep 2014 Link to this post

    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.

  2. Hinata
    Hinata avatar
    146 posts
    Member since:
    Dec 2013

    Posted 05 Sep 2014 in reply to Roman Link to this post

    Hi Roman,

    Your code seems to be correct.
    Does this also happen when you print the report or export to PDF from a Report Viewer?
  3. Roman
    Roman avatar
    4 posts
    Member since:
    Aug 2014

    Posted 18 Sep 2014 in reply to Hinata Link to this post

    Hi Hardik

    Sorry, I didn't see your reply :/

    Yes, this does also happen when I print the report using a PDF printer. Then it prints 1 paper with the printing on it and 1 paper which is empty, and the empty one should not be printed.

  4. Answer
    KS avatar
    165 posts
    Member since:
    Oct 2012

    Posted 22 Sep 2014 in reply to Roman Link to this post


    Blank pages I assume - Problem: Telerik Reporting renders blank pages.

Back to Top