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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard