ActiveReports printing is slow

Posted by: dhananjaya.venkataramana on 16 October 2017, 2:00 pm EST

    • Post Options:
    • Link

    Posted 16 October 2017, 2:00 pm EST

    Hi, We are using ActiveReports 11, when we print a report of about 6 pages it takes 10 to 15 secs. How to improve the performance of the printing process?

    a. We use print server

    b. Print method used on section report. aoRpt.Document.Print(False, False, False)

    Cannot use thread for printing as it affects the order of printing.

  • Posted 17 October 2017, 10:56 am EST

    Hello,

    Printing the report in same thread will be slower. It is always suggested to allow the printing to individual threads for better performance. You can also check if you have set the printer name in your code , you can set it to empty string (“”) and let me know if it does help you.

    In case the issue still persists could you please provide me your report/ sample application to debug the printing performance issue at my end?

    Thanks,

    Deepak Sharma

  • Posted 17 October 2017, 1:27 pm EST

    Hi Deepak,

    Thank you for the response. We tried with the thread approach, however, the problem is with the order of printing such as to put reports based on a category between a start and end page. How can we maintain an order in printing and can you propose a solution for a scenario I mentioned?

  • Posted 18 October 2017, 10:36 am EST

    Hello,

    I would need your sample application/report to further debug the printing performance. Please provide the same.

    Thanks,

    Deepak Sharma

  • Posted 19 October 2017, 5:15 pm EST

    Attached sample report and code.

    SampleReport.zipDEV15.zip

  • Posted 25 October 2017, 10:50 am EST

    Hi Dhananjaya,

    Thank you for providing me the sample application but I am not able to compile the same due to some missing project references: “ULStatementsKeyPersistence” & “IGetApplicationKeys”. It says that the projects were not loaded in VS.

    I would request you to provide me small version of your application so that it is easier for me to debug it for performance.

    You can check the dependency of the report on the code and send me the required one to run the report successfully.

    You can also check for the issue with any of the installed AR sample applications you can find at

    Documents\GrapeCity Samples\ActiveReports 11\

    Thanks,

    Deepak Sharma

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels