substitutefor

software · Q1620

Prince

Commercial HTML and CSS publishing engine for producing paginated PDF documents.

Suggest a correction

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]

Substitution considerations

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]

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

1 source · check evidence
https://www.princexml.com/doc/paged/

Page regions, spreads, numbering and print layout

vendor · checked 2026-10-07

Document JavaScript

limited

Must be enabled; print-oriented events and documented language support differ from a modern interactive browser.[3]

HTML/CSS document publishing to PDF · Windows, macOS, Linux, FreeBSD · Version, build and integration requirements apply

1 source · check evidence
https://www.princexml.com/doc/javascript/

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

1 source · check evidence
https://www.princexml.com/purchase/license_faq/

License FAQ: non-commercial first-page logo, prominent website links and accompanying email URL requirements; checked 2026-10-14.

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

WeasyPrint for HTML/CSS document publishing to PDF

limited

Can cover HTML/CSS-to-PDF generation with a commercial engine; templates, scripts and license scope require migration review.[1][2][4][8]

Windows, macOS, Linux, FreeBSD · Version, build and integration requirements apply

References

  1. Prince overview

    HTML-to-PDF, typography and integration

    vendor · retrieved 2026-10-07
  2. Prince paged media

    Page regions, spreads, numbering and print layout

    vendor · retrieved 2026-10-07
  3. Prince scripting

    Opt-in JavaScript, language limits and non-interactive events

    vendor · retrieved 2026-10-07
  4. Prince licensing options

    Commercial site, OEM, per-server and desktop scope

    vendor · retrieved 2026-10-07
  5. Prince license FAQ

    Customer-facing documents, redistribution, and non-commercial first-page logo and linking requirements

    vendor · retrieved 2026-10-14
  6. Prince distribution

    Bundled Python/Node engines, wrappers and separate books branch

    vendor · retrieved 2026-10-07
  7. Prince 17 downloads

    Windows, macOS, Linux and FreeBSD packages

    vendor · retrieved 2026-10-07
  8. WeasyPrint overview

    Open-source HTML/CSS PDF engine

    vendor · retrieved 2026-10-07
  9. https://www.princexml.com/purchase/license_faq/

    License FAQ: non-commercial first-page logo, prominent website links and accompanying email URL requirements; checked 2026-10-14.

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
17332026-10-21 23:36:29/* 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