prince
« Back to VersTracker
Description:
Convert HTML to PDF
Type: Cask  |  Latest Version: 16.2@0  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @princexml  |  formulae.brew.sh
Category: Developer tools
Tags: pdf html xml conversion document-generation cli
Install: brew install --cask prince
About:
Prince is a command-line tool that converts XML, HTML, and CSS documents into high-quality PDF files. It leverages standard web technologies to generate print-ready documents, making it ideal for automated reporting and document generation workflows. The tool is known for its robust CSS support, including paged media properties for advanced pagination control.
Key Features:
  • Standards-compliant CSS Paged Media support
  • High-performance batch processing capabilities
  • Supports XML, HTML, and SVG input formats
  • Advanced typography and font handling
  • Scriptable via command-line interface
Use Cases:
  • Automated generation of business reports and invoices from HTML templates
  • Converting web content to print-ready PDF documents
  • Batch processing of documentation for distribution
Alternatives:
  • wkhtmltopdf – Open-source alternative with WebKit rendering engine, less CSS Paged Media support
  • WeasyPrint – Python-based open-source tool, good CSS support but slower rendering
Version History
Detected Version Rev Change Commit
Jan 27, 2026 1:39am 16.2 0 VERSION_BUMP 760c43c9
Aug 14, 2024 12:07am 15.4 0 VERSION_BUMP 00cddc8f