ActiveReports 11 Threading

Posted by: renu.ap on 29 September 2017, 1:37 am EST

  • Posted 29 September 2017, 1:37 am EST

    Hi,

    I am using following methods for printing

    Print(False, False)

    It seems documents are not printing in same sequence as sent to printer.
    Looks like it uses threading internally.

    But when we use following method it goes fine,


    Print(False, False, False)

    But it takes 10 to 15 seconds for each document. We have heavy volume of reports and it takes several hours to print.

    Is there any solution for this ?

  • Replied 3 October 2017, 11:23 am EST

    Hello,

    May I know what report type are working with? Is it a section report or rdl report?
    It will be helpful if you could provide us a sample application to reproduce the issue.

    Thanks,
    Deepak Sharma
  • Replied 31 October 2017, 6:50 am EST

    Its a Section Report. Sorry for late response.
  • Replied 1 November 2017, 12:14 pm EST

    Hello,

    When using Print(true, true, true) method, third parameter is to set whether to use threading to improve printing performance(true in this case). When set it to False it turns off threading and follows the default sequence. Setting the CacheToDisk to false does improve the performance for small reports.
    May I know how many pages you have in your report? Also please confirm whether you are viewing the report and then printing it from viewer or you are printing the report directly after running it?
    It would be great if you could provide me your sample application or report to test?

    Thanks,
    Deepak Sharma
  • Replied 6 November 2017, 5:57 am EST

    We can't use threading. Because the papers not coming in same order as sent to printer. there is no considerable improvement when we used CacheToDisk = False. Report contains an average of 5 to 10 pages. We are printing directly.
  • Replied 7 November 2017, 7:46 am EST

    Any help on this issue ?
Need extra support?

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

Learn More

Forum Channels