Hi
Can you please provide sample code for using report PRINTED event handler.
When I create instace of StiReport Class I can find Printed Event hander and invokeprint() function.
I need to use them to count the number of prints after the report is successfully printed.
Thanks,
Abdul Aleem.
Regarding Report Printed Event Handler
-
- Posts: 37
- Joined: Tue Sep 15, 2009 9:42 am
- Location: jeddah
Regarding Report Printed Event Handler
Hi Abdul,
Please use the following expression to count number of rendered pages:
this.RenderedPages.Count
But this number indicates only amount of pages in the report. There is no way to control amount of printed pages, because printing is made by the browser. We can not control it.
Thank you.
Please use the following expression to count number of rendered pages:
this.RenderedPages.Count
But this number indicates only amount of pages in the report. There is no way to control amount of printed pages, because printing is made by the browser. We can not control it.
Thank you.