Comparisons

Weblitz and Prince

Prince is a fast print engine of its own, which scored 85.9% beside Chrome's PDFs. Weblitz prints as Chrome prints, in your process, up to 8.2× faster. measured 2026-11-25 The measurement

The numbers times measured 2026-11-25 scores measured 2026-11-19 sizes measured 2026-11-07

WeblitzPrince
Best case: 200 one-page letters, one threadWeblitz up to 8.2× faster1.4 ms a letter11.4 ms a letter
The 17 bench documentsone after another177 ms450 ms
Engine on a Linux server119 MB43 MB
Its PDFs beside Chrome'sthe same tool for both, the 17 documents99.9%85.9%

On an Apple M4 Pro laptop, .NET 10, both warm, Prince in its free non-commercial licence mode (17), Weblitz unlicensed. A time is the mean of two runs, the libraries in opposite orders; the best case is the measure, among those both printed in full, where Weblitz was furthest ahead, floored. Weblitz's score above is the same tool's as theirs; its own bench gives it 100% on the bench's box-by-box comparison with Chrome's own PDFs. Every measure: the run's data and the scores, page by page; how each was made: the measurements.

Where it runs, and what it costs read 2026-11-07

Runs on, as its vendor saysList price
WeblitzWindows, Linux and macOS (x64, ARM64), Alpine with gcompat; Azure App Service on Windows, checked page for pageIn the SSRS2 licence: USD 799 a year for the whole company, with SSRS2's report engine
PrinceWindows and Linux (x64, ARM64, Alpine too), macOS, FreeBSDUSD 3,800 per server (Server licence)

What each vendor's own pages say, read 2026-11-07; list prices in US dollars, excluding tax.

What Prince does better

  • CSS for books: footnotes and cross-references. source
  • Of the libraries we timed, its engine comes closest to Weblitz's speed: 11.4 ms a one-page letter, ahead of Chrome's 12.2 ms. source

Moving from Prince

One HTML page to PDF bytes, before and after. Weblitz's options carry Puppeteer's page.pdf() names; nothing to download, start or keep alive.

Prince, a program
using System.Diagnostics;

// Prince is a program: an application starts it for its documents
var start = new ProcessStartInfo("prince", "--page-size=A4 invoice.html -o invoice.pdf");
using var prince = Process.Start(start)!;
await prince.WaitForExitAsync();
Weblitz
using WeblitzPdf;

var pdf = HtmlToPdf.Render(html, new HtmlPdfOptions
{
    Format = "A4",
    PrintBackground = true,
    Margin = new HtmlMargins(Top: "20mm", Bottom: "20mm"),
}).Pdf;
dotnet add package WeblitzPdf --prerelease