web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PDF Function not print...
Power Apps
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:
I have the same question (0)
  • HoboHarasser Profile Picture
    75 on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard