<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Replic header in each page when convert HTML to PDF</title><link>https://community.appian.com/discussions/f/plug-ins/28642/replic-header-in-each-page-when-convert-html-to-pdf</link><description>Hi!
I am trying to generate a pdf document from an html using the &amp;quot;HTML to PDF&amp;quot; plugin.

The html structure used is the following: 
 // HTML &amp;lt;table&amp;gt; &amp;lt;thead&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &amp;lt;div class=&amp;quot;header-space&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt; &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/thead&amp;gt; &amp;lt;tbody&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; &amp;lt;div class=</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Replic header in each page when convert HTML to PDF</title><link>https://community.appian.com/thread/137367?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 15:58:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a812eb6-677a-4ec6-ab88-76ee286e845b</guid><dc:creator>jenniferm248</dc:creator><description>&lt;p&gt;Hey Stefan, there is a lot going on in the library you linked and I don&amp;#39;t have much experience with github. Can you point to the file that refers to this topic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replic header in each page when convert HTML to PDF</title><link>https://community.appian.com/thread/137318?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 12:18:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a6e3bb0-2a6c-4c3f-a8d8-095f1ee97dbf</guid><dc:creator>AllenP</dc:creator><description>&lt;p&gt;Did you resolve this and if so, how?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replic header in each page when convert HTML to PDF</title><link>https://community.appian.com/thread/112627?ContentTypeID=1</link><pubDate>Fri, 12 May 2023 07:26:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8abcfd09-937a-4547-8473-f089edb4a605</guid><dc:creator>Ignacio Caro Cumplido</dc:creator><description>&lt;p&gt;With absolute position, not replicated each page only first&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replic header in each page when convert HTML to PDF</title><link>https://community.appian.com/thread/112562?ContentTypeID=1</link><pubDate>Thu, 11 May 2023 08:54:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dd3ccf27-7d52-4e11-a93b-e9206df413df</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You can do that using specific CSS. Check the documentation of the used library:&amp;nbsp;&lt;a href="https://github.com/danfickle/openhtmltopdf"&gt;github.com/.../openhtmltopdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Replic header in each page when convert HTML to PDF</title><link>https://community.appian.com/thread/112560?ContentTypeID=1</link><pubDate>Thu, 11 May 2023 08:16:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c91f234b-2cc6-456a-80e6-5f2baf2e8b5e</guid><dc:creator>Mallepu Prashanth </dc:creator><description>&lt;p&gt;&lt;span&gt;To avoid this issue, you can try setting the position of the header to &amp;quot;absolute&amp;quot; instead of &amp;quot;fixed&amp;quot;. This will keep the header in the normal document flow.&lt;pre class="ui-code" data-mode="text"&gt;.header {
  position: absolute;
  top: 0;
}
.footer {
  position: fixed;
  bottom: 0;
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>