Convert HTML to PDF
Prince is an application for converting HTML and XML documents into PDF files by applying Cascading Style Sheets (CSS). HTML and XML are seamlessly transformed into documents you can print, download and archive.
Prince supports all the main Web Standards:
- HTML, XHTML, XML, SVG
- Cascading Style Sheets (CSS)
- JavaScript / ECMAScript
- JPEG, PNG, GIF, TIFF, WebP, AVIF
To install Prince, follow the Installation Guide, else proceed to the User Guide.
After an introduction to styling with Cascading Style Sheets (CSS), the specifics of styling for paged media are being analyzed. CSS generated content is used extensively to add all the necessary elements for paged media, such as page numbering and page headers and footers.
Finally, the scripting and graphical capabilities of Prince are explored.
After a Tips and Tricks section, a Help section attempts to address common problems.
Next we will analyze how Prince works: the input it takes, and the output it produces, and the configuration options for its networking and server integration capabilities.
Last but not least, we document the extensions that are most requested by publishers and offered by Prince for Books.