Generate styled PDF documents from application-supplied HTML limited
DocRaptor → Prince
Can replace a self-operated Prince-based HTML-to-PDF service with a managed API; network transfer, pipeline versions, usage limits and service terms change the deployment.
Platforms: Web API · Region: Version, build and integration requirements apply
Prince can substitute for WeasyPrint for suitable HTML/CSS-to-PDF publishing workflows. Both accept web-oriented content, but their layout engines and extension support differ. Moving a template requires checking pagination and typography, while any scripting must fit Prince's documented execution model. The comparison is between document-generation tasks rather than a claim that one engine reproduces the other's output exactly.[1][2][3][8]
Overview
Prince is a document-conversion engine that turns HTML and other supported markup into PDFs using CSS-based layout. Its publishing features include page regions, numbering, footnotes and cross-references. It can be integrated into applications or run as installed software, with commercial licensing matched to the deployment and intended document use.[1][4]
Publishing layout
Prince treats the output as discrete pages with defined dimensions and regions. CSS can control running headers, footers, page counters and different treatment of selected pages. Recto and verso handling and inside/outside margins are relevant to bound publications. A successful HTML import therefore starts a paginated layout process; it is not simply an image capture of how the same content appeared in a browser window.[2]
Scripting boundaries
JavaScript can modify input documents and generate content before layout, with additional hooks for inspecting or repeating layout. It is disabled by default. The scripting reference describes broad ES5 support and incomplete ES6 support, rather than a current general-purpose browser runtime. Interactive click events do not run as part of print conversion. Existing client-side applications may need a prepared document or adapted script instead of being passed through unchanged.[3]
Installation and application interfaces
The download site offers native packages for several operating systems and describes Python and Node.js packages that include the engine. Other wrappers and Docker images provide additional deployment routes. Cloud services named by the vendor offer separate API access, while Prince for Books is identified as a separate branch. These are related ways to use the technology, not interchangeable packages or evidence of identical commercial terms.[6][7]
Licensing by use
Commercial site licensing covers server deployments under a quoted annual arrangement, while OEM licensing addresses redistribution. The FAQ states that generating documents for customers still requires commercial licensing even if those documents are not sold individually. Free non-commercial use carries a required logo on the first page. It also requires prominent links to Prince where PDFs are served and on a partners page; emailed PDFs must be accompanied by the Prince URL in the message body. A desktop entitlement for interactive internal work should therefore not be assumed to cover a customer-facing automated service.[4][5]
Capabilities & limitations
Paged-media layout
supported
Supports page regions, running content, spreads and page numbering through print-oriented CSS.[2]
HTML/CSS document publishing to PDF · Windows, macOS, Linux, FreeBSD · Version, build and integration requirements apply
Opt-in JavaScript, language limits and non-interactive events
vendor · checked 2026-10-07
Free non-commercial use
limited
The vendor permits non-commercial use with a required first-page logo and prominent Prince links where PDFs are served and on a partners page, or a Prince URL in accompanying email text. Customer-facing commercial documents require appropriate licensing.[9]
HTML/CSS document publishing to PDF · Windows, macOS, Linux, FreeBSD · Version, build and integration requirements apply
/* wbeditentity-create-item:0| */ sf:69cf5e00-76a0-4e72-b907-46ca3f9d60be:v2 | Add the official FAQ’s linking requirements for free non-commercial use to the licensing paragraph and capability. Preserve the existing first-page logo require | attribution: /proposals/69cf5e00-76a0-4e72-b907-46ca3f9d60be