07-02-2018 04:35 AM
I embeded some Power BI report into my application and all works fine. I would like to add print report functionality. My problem is, that when report is not completely loaded and I will try to print this report, it prints incomplete report.
What is the best way to resolve this problem. I think that I have to wait for report that will fully loaded... But I dont know how...
07-03-2018 01:27 AM
As far as I know, I'm afraid we have to wait for its fully loading. Will that be a long time?
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
07-05-2018 02:39 AM
thanks for your answer. No, not be a long time. Waiting for fully loading is OK, but what can I do if report (or some component) is refreshing? In this time I should not be able to print report. How do I know that report or component start refreshing, to be able disable print?
12-04-2018 06:36 AM - edited 12-04-2018 06:59 AM
I am responding to this thread to just inquire/cross check if support for print functionality for embedded report has been added or not.
My research on web so far says that, there is only a Java Script library (powerbi-client) present, which has an API to print the current page. However, it has many limitations:
1. It prints only current page, not all the pages in a report.
2. It works comparatively better in Chrome browser.
3. Graphics/content in the report gets cut off in Internet Explorer.
4. If report has tabular/grid style data with horizontal scroll bar (i.e. too many columns), then above mentioned JS API only prints columns visible on the screen.
Please let me know if support for print in embedded mode has been added in recent (if I am missing something) or is there any way to overcome above limitations/issues. Hope to hear on my query. Quick replies appreciated.