You can use the @page
rule. please take a look at following FS documentation:
How can i make my html page to be fit in the pdf using Flying Saucer
-
12-12-2021 - |
Question
I am using Flying Saucer
to convert XHTML page to PDF.
My XHTML page width is little longer. When I create the PDF, 10% right portion of the XHTML file is missing in PDF. How can i make my XHTML page to be fit in the PDF?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow