{"schemaVersion":"1.0","record":{"label":"Prince","description":"Commercial HTML and CSS publishing engine for producing paginated PDF documents.","aliases":["PrinceXML"],"kind":"software","website":"https://www.princexml.com/","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.","license":"Proprietary; commercial, OEM and restricted non-commercial licenses","lifecycle":"active","example":false,"features":[{"name":"Paged-media layout","status":"supported","detail":"Supports page regions, running content, spreads and page numbering through print-oriented CSS.","useCase":"HTML/CSS document publishing to PDF","platforms":["Windows","macOS","Linux","FreeBSD"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://www.princexml.com/doc/paged/","locator":"Page regions, spreads, numbering and print layout","retrievedAt":"2026-10-07T12:38:26.825Z","kind":"vendor"}]},{"name":"Document JavaScript","status":"limited","detail":"Must be enabled; print-oriented events and documented language support differ from a modern interactive browser.","useCase":"HTML/CSS document publishing to PDF","platforms":["Windows","macOS","Linux","FreeBSD"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://www.princexml.com/doc/javascript/","locator":"Opt-in JavaScript, language limits and non-interactive events","retrievedAt":"2026-10-07T12:38:26.825Z","kind":"vendor"}]},{"name":"Free non-commercial use","status":"limited","detail":"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.","useCase":"HTML/CSS document publishing to PDF","platforms":["Windows","macOS","Linux","FreeBSD"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://www.princexml.com/purchase/license_faq/","locator":"License FAQ: non-commercial first-page logo, prominent website links and accompanying email URL requirements; checked 2026-10-14.","retrievedAt":"2026-10-07T12:38:26.825Z","kind":"vendor"}]}],"alternatives":[],"slug":"prince","draftAlternatives":[{"targetSlug":"weasyprint","status":"limited","detail":"Can cover HTML/CSS-to-PDF generation with a commercial engine; templates, scripts and license scope require migration review.","useCase":"HTML/CSS document publishing to PDF","platforms":["Windows","macOS","Linux","FreeBSD"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://www.princexml.com/","locator":"HTML-to-PDF, typography and integration","retrievedAt":"2026-10-07T12:38:26.825Z","kind":"vendor"},{"url":"https://www.princexml.com/doc/paged/","locator":"Page regions, spreads, numbering and print layout","retrievedAt":"2026-10-07T12:38:26.825Z","kind":"vendor"},{"url":"https://doc.courtbouillon.org/weasyprint/stable/","locator":"Open-source HTML/CSS PDF engine","retrievedAt":"2026-10-07T12:38:26.825Z","kind":"vendor"},{"url":"https://www.princexml.com/purchase/","locator":"Commercial site, OEM, per-server and desktop scope","retrievedAt":"2026-10-07T12:38:26.825Z","kind":"vendor"}]}],"evidence":[{"url":"https://www.princexml.com/","locator":"HTML-to-PDF, typography and integration","retrievedAt":"2026-10-07T12:38:26.825Z","kind":"vendor"},{"url":"https://www.princexml.com/purchase/","locator":"Commercial site, OEM, per-server and desktop scope","retrievedAt":"2026-10-07T12:38:26.825Z","kind":"vendor"},{"url":"https://www.princexml.com/purchase/license_faq/","locator":"Customer-facing documents, redistribution, and non-commercial first-page logo and linking requirements","retrievedAt":"2026-10-14T03:27:00Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://www.princexml.com/","locator":"HTML-to-PDF, typography and integration","retrievedAt":"2026-10-07T12:38:26.825Z","id":"home","title":"Prince overview","kind":"vendor"},{"url":"https://www.princexml.com/doc/paged/","locator":"Page regions, spreads, numbering and print layout","retrievedAt":"2026-10-07T12:38:26.825Z","id":"paged","title":"Prince paged media","kind":"vendor"},{"url":"https://www.princexml.com/doc/javascript/","locator":"Opt-in JavaScript, language limits and non-interactive events","retrievedAt":"2026-10-07T12:38:26.825Z","id":"script","title":"Prince scripting","kind":"vendor"},{"url":"https://www.princexml.com/purchase/","locator":"Commercial site, OEM, per-server and desktop scope","retrievedAt":"2026-10-07T12:38:26.825Z","id":"purchase","title":"Prince licensing options","kind":"vendor"},{"url":"https://www.princexml.com/purchase/license_faq/","locator":"Customer-facing documents, redistribution, and non-commercial first-page logo and linking requirements","retrievedAt":"2026-10-14T03:27:00Z","id":"faq","title":"Prince license FAQ","kind":"vendor"},{"url":"https://www.princexml.com/download/","locator":"Bundled Python/Node engines, wrappers and separate books branch","retrievedAt":"2026-10-07T12:38:26.825Z","id":"download","title":"Prince distribution","kind":"vendor"},{"url":"https://www.princexml.com/download/17/","locator":"Windows, macOS, Linux and FreeBSD packages","retrievedAt":"2026-10-07T12:38:26.825Z","id":"platforms","title":"Prince 17 downloads","kind":"vendor"},{"url":"https://doc.courtbouillon.org/weasyprint/stable/","locator":"Open-source HTML/CSS PDF engine","retrievedAt":"2026-10-07T12:38:26.825Z","id":"weasy","title":"WeasyPrint overview","kind":"vendor"}],"overviewCitations":["home","purchase"],"licenseCitations":["purchase","faq"],"sections":[{"id":"layout","heading":"Publishing layout","paragraphs":[{"id":"layout-detail","content":[{"text":"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."}],"citations":["paged"]}]},{"id":"scripting","heading":"Scripting boundaries","paragraphs":[{"id":"scripting-detail","content":[{"text":"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."}],"citations":["script"]}]},{"id":"integration","heading":"Installation and application interfaces","paragraphs":[{"id":"integration-detail","content":[{"text":"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."}],"citations":["download","platforms"]}]},{"id":"licensing","heading":"Licensing by use","paragraphs":[{"id":"licensing-detail","content":[{"text":"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."}],"citations":["purchase","faq"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"Prince can substitute for "},{"text":"WeasyPrint","targetSlug":"weasyprint"},{"text":" 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."}],"citations":["home","paged","script","weasy"]}]}]},"id":"Q1620","revision":1733,"updatedAt":"2026-10-21T23:36:29Z","sourceUrl":"https://substitutefor.net/entities/Q1620?revision=1733"}}