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 Automate / Build PDF out of HTML ...
Power Automate
Answered

Build PDF out of HTML with page breaks

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm very new to HTML and CSS styling. When my users submit responses via Forms, a series of HTML documents will include all of the responses and then get turned into PDFs.

 

I've been battling with the visual design and layout specifics for a few months now. Each time I take a little step forward I'm met with more unknowns and questions I didn't even know I should ask.

 

Simply put, I need to incorporate some mechanism to cause my PDFs to have page breaks at an appropriate measurable location. I've tried a few solutions, CSS stylings, HTML tags, formatting the HTML document to have blank spaces where I need my page break to happen... Nothing I've tried looks professional, or works quite like I need it to, or simply doesn't work at all.

 

Is there a means to cause a page-break either at a designated location or at the measured end of a page when printing? My data continues to become illegible when printed to a PDF because half of the text is split (right down middle) between a page header and a page footer.

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,121 Most Valuable Professional on at

    There is no way to add page breaks to a PDF when using the built-in converter. Some third party converters like Encodian have the ability to add page breaks to a PDF in Power Automate.  Convert HTML to PDF – Encodian Customer Help

  • mgrachii Profile Picture
    206 on at

    This link can also be useful for you if you'd like to use a different workaround: 

    http://www.cleverworkarounds.com/2018/03/09/three-ways-to-convert-html-to-pdf-using-microsoft-flow/

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I was hoping to dodge spending more money to make this work. This is more information than I had and I value that. For the time being I think I'll have to relegate myself to another work around.

     

    I'll keep this the accepted answer for anyone else who might find this helpful.

     

    Thank you, @Pstork1 !

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This was not quite what I was after - but it included elements I was previously unaware of. For that alone I am thankful.

     

    Thank you for the helpful information, @mgrachii !

  • Pstork1 Profile Picture
    69,121 Most Valuable Professional on at

    Just an FYI.  I totally understand not wanting to spend a lot more money.  Just be aware that Encodian has a free trial that is not time boxed.  It will let you do up to 50 PDF documents a month for free.  Its a great way to get an account you can play with until you decide that paying for it is worth the expense.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Excellent advice. Thank you!

  • acox Profile Picture
    95 on at

    Hi @Anonymous,

     

    Besides Encodian, a great solution for you would be Plumsail Documents. It has many templates already prepared, which you can start with right away if you're short on time. Furthermore, it has compact yet very accessible documentation with many common use-cases. Please see the following links if you are interested:

     

     

    Note: the solution is paid, with a one-month free trial.

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 Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard