Printing Telerik Reports programatically

5 posts, 0 answers
  1. sami
    sami avatar
    13 posts
    Member since:
    Aug 2007

    Posted 21 Aug 2007 Link to this post

    Printing Telerik Reports programatically , Without user interaction.
    anybody has idea.


    Regards
    Sam
  2. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 22 Aug 2007 Link to this post

    Hi Sam,

    Thanks for your interest in the Reporting tool.

    Currently you can't print the reports programmatically as this feature is not implemented. We plan to add it in future but at this moment we are not quite sure exactly when it will be added.

     
    Regards,
    Chavdar
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
  4. ScottR
    ScottR avatar
    44 posts
    Member since:
    Nov 2006

    Posted 24 Aug 2007 Link to this post

    sami,

    You could consider generating the report as a PDF byte array then using something like ABCPDF to print it.

    Just an idea.

    Scott
  5. Andre Viens
    Andre Viens avatar
    15 posts
    Member since:
    Feb 2006

    Posted 29 Jan 2008 Link to this post

    Hello,

    I was wondering if there was any update on this? I too have a need where I would like to generate a print job programmatically.

    When this feature is available, would it be possible to for it to do the following things:

    1. Automatically print a job to the default printer without asking for a default printer.
    2. And also have a way to have the print selection box come up.

    Reason why is I'd like to set the viewer to false, and simply allow a person to hit the print button and have it start the print job. I would then also set a "Select Printer to Print" button so that they could choose a custom one if they wanted to.

    Thanks for listening.

    Andre

  6. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 31 Jan 2008 Link to this post

    Hello Andre Viens,

    To print a report programmatically you should use the Telerik.Reporting.Processing.ReportProcessor.Print method and supply it with the instances of a report and a printer settings objects. In the attached sample solution you can find a little demonstration of this technique, especially:
    • printing directly to the default printer;
    • printing directly to the specified printer;
    • open print dialog to choose printer to print on.
    Please let me know if I can assist you any further with this request.

    Sincerely yours,
    Ivan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
DevCraft banner