Skip to content

Choose where to run PressJet

Start with the place that already owns the document data. An export button in an offline web app and a billing service that runs every night have different requirements.

Mode Use it when What runs where
CLI A script or person exports files from a Linux machine The pressjet executable reads local files and writes the PDF
Local Node.js renderer One Linux app generates its own PDFs Node launches the native renderer on demand
HTTP API Multiple apps need a shared service or a language-independent contract A Docker container or native binary runs in your infrastructure
WebAssembly The browser or an edge worker owns the document data The caller loads the engine module and gets PDF bytes directly

The CLI, HTTP API, and WebAssembly SDK accept HTML or native documents. The local Node.js renderer takes a native document. Start from HTML if you already have print templates and stylesheets. Use the native format when you build document layouts directly from data. If each record shares a stable design, bind records to a template.

First render

Prepare for production

With the HTTP API, plan credentials, worker limits, and observability. Keep secret keys in the calling backend, and keep the key type and allowed origin explicit if a browser needs access. For a browser-contained deployment, use a worker and reuse the compiled module.