Rich Text performance
-
- Posts: 29
- Joined: Thu Jul 07, 2016 2:06 pm
Rich Text performance
I have a report with 8 pages for each record on database. So if I have a dataset with 1000 records the report will render 8000 pages. Is there a way to improve performance?
Can I send this report direct to printer without viewing? Is this a possible solution? I think send direct to printer and the report starts printing before rendering all pages will solve this problem.
Can I send this report direct to printer without viewing? Is this a possible solution? I think send direct to printer and the report starts printing before rendering all pages will solve this problem.
Re: Rich Text performance
Hello.
Unfortunately, it's impossible to print the report if it is not rendered completely.
Thank you.
Unfortunately, it's impossible to print the report if it is not rendered completely.
Thank you.
-
- Posts: 29
- Joined: Thu Jul 07, 2016 2:06 pm
Re: Rich Text performance
I think you should consider this. You could check for pages system variables. When report does not have this kind of variables the report should render only first page and then only render next pages if the user navigates. We need to print client contracts and there is about 3000 clients. How can I do this? How can I print batches of 50 contracts for example?
Re: Rich Text performance
Hello.
We know about this issue. We are working in this direction.
It need very much changes in our product and set many limitations.
We could only suggest you to print contracts separately. Especially because there is a limitation of memory usage on browser's side.
Or you could print the report from the server side. The necessary printer should be setup on the server.
Thank you.
We know about this issue. We are working in this direction.
It need very much changes in our product and set many limitations.
We could only suggest you to print contracts separately. Especially because there is a limitation of memory usage on browser's side.
Or you could print the report from the server side. The necessary printer should be setup on the server.
Thank you.
-
- Posts: 29
- Joined: Thu Jul 07, 2016 2:06 pm
Re: Rich Text performance
What should I do to print from server side? Is there an specific method?
I am trying to use report.Print method and use a foreach loop to print contract by contract direct to printer.
I am trying to use report.Print method and use a foreach loop to print contract by contract direct to printer.
Re: Rich Text performance
Hello.
Yes, you should use the Print method on server side.
Please, check that the printer is installed and you have access to it.
Thank you.
Yes, you should use the Print method on server side.
Please, check that the printer is installed and you have access to it.
Thank you.
-
- Posts: 29
- Joined: Thu Jul 07, 2016 2:06 pm
Re: Rich Text performance
Is there a way to print direct to printer without preview to client printers?
Re: Rich Text performance
Hello.
Yes, you could use one of the next methods:
Thank you.
Yes, you could use one of the next methods:
Code: Select all
StiReportResponse.PrintAsPdf(report[, settings]);
StiReportResponse.PrintAsHtml(report[, settings]);