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 / PowerApps Print Multip...
Power Apps
Unanswered

PowerApps Print Multiple pdf Pages

(6) ShareShare
ReportReport
Posted on by Super User 2024 Season 1

We are working PowerApps, and one of the requirements is to print to pdf. We have a print screen, and In that, we have multiple galleries, Images, and other control (s) that can go more than five pages. The expectation is to print each gallery on a separate screen. For A4 size (pdf) height of the screen should be 1123. I know we can adjust the screen's height dynamically and print it, but it shows as only one page.


Find the attachment for reference.

I see the idea (https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Improve-Print-Implement-printing-of-multiple-pages/idi-p/887134) created last year, but still status is New.
 

Questions:

    1. Can we able to create multiple pdf pages?

    2. If Yes, How to achieve it? If not, is there any workaround?

 
Thanks,
Stalin

Categories:
I have the same question (0)
  • EtienneV Profile Picture
    31 on at

    Hello,

    Is there any workaround now or work in progress on this feature?

    I can't see the idea linked above

  • HanSolo97 Profile Picture
    5 on at

    The Print() function does not support multi page pdf creation currenlty.
    But there is one workaround through which you can achieve your requirement.
    1. Create a Vertical Container and append the Galleries inside the container. If you have already developed each gallery in different pages, try pulling the data from those galleries to fill the fields in the duplicate galleries you are creating inside the container.

    2. Use the experimental function PDF() instead of the Print() Function
    This will return a PDF file which you can store in a variable.
    The most important part is to set {ExpandContainers: true} which will expand all the items in the container while creating the PDF which will automatically result in a multi page PDF

     

    Set(
     varPDF,
     PDF(
     Container,
     {ExpandContainers: true}
     )
    );

     

     

    3. Create a new screen with a PDFViewer and pass the PDF File to view the PDF.
    Additionally you can use Power Automate flows to download and store the PDF in sharepoint

    The below link was pretty useful for me to accomplish these steps
    https://www.matthewdevaney.com/power-apps-pdf-function-create-view-download-pdfs/

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
WarrenBelz Profile Picture

WarrenBelz 482 Most Valuable Professional

#2
11manish Profile Picture

11manish 459

#3
Haque Profile Picture

Haque 331

Last 30 days Overall leaderboard