<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Doubt converting html to pdf</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120089281" />
  <subtitle>Doubt converting html to pdf</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120089281</id>
  <updated>2026-04-05T20:25:45Z</updated>
  <dc:date>2026-04-05T20:25:45Z</dc:date>
  <entry>
    <title>Doubt converting html to pdf</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120089280" />
    <author>
      <name>Daniel G</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120089280</id>
    <updated>2020-10-13T10:45:10Z</updated>
    <published>2020-10-13T10:45:10Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi everyone.&lt;br&gt;I am facing some issues about coverting an html file with css to pdf.My problem is that the code is wider that the wide of a page. So when I see the html file, I have an scroll bar to see al the content. But when I convert the file to pdf, it only prints the content which fits in the size of the page.&lt;br&gt;Is there any way of printing every content,&amp;nbsp;&amp;nbsp;either adding more pages or decreasing the zoom of the entire html? Any help would be very appreciated.I am using this to make the conversion:&lt;pre&gt;&lt;code&gt;&amp;amp;nbsp;HtmlConverter.convertToPdf(htmlFinal, baos); &lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Daniel G</dc:creator>
    <dc:date>2020-10-13T10:45:10Z</dc:date>
  </entry>
</feed>
