Print to specific tray

2 posts, 1 answers
  1. Jan
    Jan avatar
    8 posts
    Member since:
    Sep 2014

    Posted 16 Mar 2015 Link to this post

    Is it possible to print a Telerik report to a specific printer tray using code (c#)? Or are there any suggested methods of making that happen? I've read about creating a PDF and using a third-party option to specify a tray.

    No direct solution from Telerik?

    Thanks
  2. Answer
    Stef
    Admin
    Stef avatar
    3610 posts

    Posted 19 Mar 2015 Link to this post

    Hi Jan,

    The solution we can suggest at this point is to set an appropriate PageSettings.PaperSource Property to a PageSettings object and pass that together with a PrinterSettings object to the Telerik.Reporting.Drawing.PageSettings Constructor. Then assign the new instance of the Telerik.Reporting.Drawing.PageSettings class to the report that is going to be printed.

    Example how to print report programmatically with the ReportProcessor is available here. The same solution is discussed in the Reportprint with more then one tray forum thread.

    I hope this suggestion points you in the right direction.


    Regards,
    Stef
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top