cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MPPowerApps
Frequent Visitor

Problems with converting an html file to pdf via Power Automate

Hello all,

 

I have an issue converting my html content to PDF format. This is my flow:

 

MPPowerApps_0-1633961957435.png

 

This is my html code:

<html>
<header>
<p><div style="display:block; text-align:left; float:left;"><h1>Personalstammblatt</h1></div>
<div style="display:block; text-align:right;"><img src=""https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg""></div></p>
</header>

<body marginwidth="50" marginheight="100" topmargin="100" leftmargin="140">
<font face="Arial" size=4>

<hr noshade style="width:1200px; height:0.5px; text-align:left"></hr>
<br>

<h4>Personaldaten</h4>
<table width=250% border=0 cellspacing=20 cellpadding=0 style="font-family: Arial; font-size:18">
<tr>
<td>Vorname</td>
<td>@{outputs('Vorname')}</td>
</tr>
<tr>
<td>Nachname</td>
<td>@{outputs('Nachname')}</td>
</tr>
<tr>
<td>Straße</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>Hausnummer</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>Postleitzahl</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>Ort</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>Steuer-ID</td>
<td>______________________________________________________________________</td>
</tr>
</table>

<br></br>

<h4>Bankdaten</h4>
<table width=180% border=0 cellspacing=20 cellpadding=0 style="font-family: Arial; font-size:18">
<tr>
<td>Name Kontoinhaber</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>IBAN</td>
<td>______________________________________________________________________</td>
</tr>
<tr>
<td>BIC</td>
<td>______________________________________________________________________</td>
</tr>
</table>

</body>
</html>

 

Creating a html file works well and when I open the file it looks like expected. But the converted PDF looks like this: 

MPPowerApps_1-1633962341847.png

 

Greetings and thanks for any help

0 REPLIES 0

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,886)