• Resolved jmw894

    (@jmw894)


    We have embedded a PowerBi report into an iframe and want to print the contents. When we try and print the information the output is only filling about a 1/4 of the page. Is there a way to get the output to fill the page?

    The code we are currently using is:

    [print-me target="#powerbi"/]
    
    <div id="powerbi" style="width: 1000; height: 550px; overflow: hidden" visibility:visible> <iframe title="LGA draft v2 - Front Page" width="1024" height="612" src="https://app.powerbi.com/view?r=xxxx" frameborder="0" allowFullScreen="true" style="position: relative; left:0px; top: 0px"></iframe> </div>

    where xxxx is the powerbi file link.

    Thanks

    James

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    well, the inline style of the element clearly limits the height to 550px and the overflow to hidden. so even if you where to add @media print css, it would not be able to overwrite the inline style. Also, since an iframe’s content and css normally reside on another server, you have even less control of how it is displayed or printed.

    So no.

    Thread Starter jmw894

    (@jmw894)

    Thanks for the advice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Printing Iframe Contents Full Page’ is closed to new replies.