Skip to main content
New Participant
Dec 26, 2025 7:17 PM UTC
Question

PDF From HTML Plug-in is generating a Single-page PDF

Hello,

We are experiencing an issue with the PDF From HTML plug-in, as it generates the entire output on a single page. I would like to understand whether there is a way to render the content across multiple pages, preferably using a standard A4 page size.

The problem becomes more pronounced when the generated content is very large and exceeds approximately 200 inches in page length. In such cases, Adobe has limitations when opening the file and truncates content at the top of the page. As a workaround, Adobe is only able to display the full content when opening the file in a web browser.

I would appreciate any guidance or recommended solutions to address this limitation.

Thank you.

4 replies

harshas2775
Brainy
Dec 26, 2025 7:29 PM UTC

Try using Docx from template then Pdf from docx. For docx to template use xml for proper formatting. 

Happy to help. Even happier to optimize.
stefanhelzle0001
Brainy
Dec 28, 2025 11:22 AM UTC

Read my blog post to get great PDFs: https://appian.rocks/2023/10/23/great-pdfs-with-appian/

shubhama926776
Brainy
Dec 30, 2025 5:19 AM UTC

Add CSS to your HTML. And use page-break-after: always; or page-break-before: always; in your HTML elements where you want page breaks.
If it still doesn't work, check if you're passing explicit height/width parameters to the smart service - remove them to allow automatic pagination.

शुभम्
shenisek7391
New Participant
Mar 5, 2026 7:01 PM UTC

I am also having the same issues even with explicit page break before and after in the style.  The html renders somewhat correctly because if I right click and say "print" it splits naturally.  However, the PDF from HTML takes the same HTML output and send it "poster style" so when the user tries to print, it is not printing correctly.