Skip to main content

Notifications

Power Apps - Power Apps Experimental Features
Unanswered

PDF Function not printing all of scrollable screen

(1) ShareShare
ReportReport
Posted on by 53

After looking through this group, I've tried putting my form in a vertical container and a putting it in a standard container within a vertical container as recommended and my page is still not printing when I run the app.  The output on every attempt was the same, just the part of the form on the screen when I click on the PDF button. 

 

The formula I'm using is:  Set(varDE,PDF(Container4));DisputeExpertForms.Run("DEClients"&varDE&".pdf",{file:{name:"DEClients"&varDE&".pdf",contentBytes:PDF(DEClientsScreen,{Orientation:"Portrait",Margin:"0,0,0,0",Size:PaperSize.Letter,ExpandContainers: true })}})    I've also tried this using the form name instead of the container.

 

Is there anything else I can try?

Categories:
  • HoboHarasser Profile Picture
    HoboHarasser 75 on at
    Re: PDF Function not printing all of scrollable screen

    Have you tried replacing the "DEClientsScreen" with the name of your container as well?

     

    I ran into the same problem yesterday. The PDF function only printed the entire screen when I was in edit mode, but not if I used the app in play mode. 

    Using the container (in my case, it's a DataCard) instead of the screen fixed it for me.

    In other words: PDF(ContainerName, {ExpandContainers: true}) was all I needed in order to print the scrollable area.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard

Featured topics