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 / Print screen or save s...
Power Apps
Suggested Answer

Print screen or save screen as PDF

(3) ShareShare
ReportReport
Posted on by 67
Hy guys
 
I have the following problem. When saving the screen as a PDF, the layout is no longer correct.
This means that in the Power App everything is on one page/screen and in the PDF it breaks it into two pages.
 
 
 
Can anyone tell me how I can prevent this?
I have already tried to change the settings on the printer such as “Actual size” but unfortunately that doesn't help either.

Pictures are attached
Categories:
I have the same question (0)
  • vipuljain03 Profile Picture
    673 Super User 2026 Season 1 on at
    Have you tried ExpandContainers optional property with PDF function.
     
    E.g. - PDF(Screen1, {ExpandContainers: true}) => A PDF is created where any containers/galleries with more content than is visible are expanded to show all content in the generated PDF.
  • Suggested answer
    SwatiSTW Profile Picture
    807 Super User 2026 Season 1 on at
    1. Set a fixed screen size

      Go to App Settings > Display and set a Custom size like:

      1. Width: 816
      2. Height: 1056 (for A4 portrait)
      3. Turn off Scale to Fit
    2. Put everything inside a container

      Add a Container and place all elements inside it. This keeps everything together when exporting.

    3. Use Power Automate for PDF

      1. Create a new Power Automate flow
      2. Add PowerApps trigger
      3. Add Convert HTML to PDF action
      4. Pass the screen as HTML content
    4. Generate HTML from PowerApps

      Use this in PowerApps OnSelect button:

      Set(varHTML, "html start tag" & YourContentHere & "html end tag");
      PowerAutomateFlow.Run(varHTML);
    5. Fix page breaks in HTML (for Power Automate PDF)

      In Power Automate, use HTML for proper layout:

    6. Print directly from PowerApps

      If you are using Print(), set the container Height = App.Height and Width = App.Width.

    7. Try different print settings

      When saving as PDF, set Margins = None and Scale = 100% in the print dialog.

  • Primo Centurio Profile Picture
    67 on at
    @vipuljain03 thank you, unfortunately that does not solve my problem but nice 
  • Primo Centurio Profile Picture
    67 on at
    @SwatiSTW Thank you very much.
    Is there another possibility without changing the layout or display settings? As I have already programmed the complete app, I would have to adapt everything to the new A4 layout.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard