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

Build PDF out of HTML with page breaks

(0) ShareShare
ReportReport
Posted on by

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
    68,697 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
    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
    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
    68,697 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
    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

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