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 Automate / HTML to PDF Flow Page ...
Power Automate
Unanswered

HTML to PDF Flow Page Formatting Issue

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I successfully created PDFs through flow and it converts the HTML file I created to a PDF. The problem now is that the margins on the PDF file. I added css styling to add margins but it only works on the first page, see screenshots below of the first page. I highlighted the spacing on the page in red.

 

Working bottom marginWorking bottom marginWorking top marginWorking top margin

This is how it looks like on the second page and other succeeding pages. The spacing is highlighted in red.

 

Bottom spacing of next pageBottom spacing of next page

 

Top spacing of next pageTop spacing of next page

Is it possible to format the margins or spacing from the top and bottom of each PDF pages in HTML? Currently the page size is A4. 

 

Regards

Categories:
I have the same question (0)
  • Verified answer
    v-zhos-msft Profile Picture
    on at

    Hi @Anonymous ,

    It seems you want to set the page format of the PDF file.

    I am afraid that there is no way to achieve your needs in Microsoft Flow currently.

    If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

    Best Regards,

    Community Support Team _ Zhongys

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • corina Profile Picture
    39 on at

    i see this was posted a little over a year ago, did you ever find a solution to this? i am also having this issue. 

  • Miguel96 Profile Picture
    2 on at

    Hi, I have the same problem today, did you find a solution? Thanks

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard