Pressjet
Self-hosted PDF service · Beta 5

20 pages.
24.4 ms.

Median HTTP time for an invoice batch with itemized tables and embedded logos. The same batch took 332.1 ms with Gotenberg HTML.

Pressjet’s folded P, formed by a stack of printed sheets.
30.88 ms over HTTP for a 17-page invoice from native JSON. The same 500 items took 53.82 ms from HTML through the same API.
jsPDF62.4%less time with Pressjet JSON
82.12 ms competitor median
Gotenberg91.0%less time with Pressjet JSON
344.16 ms competitor median
Browserless94.7%less time with Pressjet JSON
584.34 ms competitor median
dompdf95.6%less time with Pressjet JSON
694.65 ms competitor median
react-pdf98.2%less time with Pressjet JSON
1,739.83 ms competitor median
WeasyPrint98.2%less time with Pressjet JSON
1,730.39 ms competitor median
Service benchmarks

Race the renderers.

One invoice, the same line items and totals. Compare the HTTP round trip, CPU time, memory and file you get back.

Pressjet JSON30.88 ms

Median HTTP time

500 invoice items · 17 printed pages

Gotenberg, Browserless and WeasyPrint render the invoice HTML, dompdf uses an HTML table, jsPDF builds the invoice with AutoTable, and react-pdf builds React components. Pressjet renders the equivalent native JSON tree.

Median HTTP timeLower is better
Percentages show how much lower or higher Pressjet JSON measured relative to each competitor.
Pressjet JSON30.88 msReference
jsPDF82.12 ms62.4% lower
Gotenberg344.16 ms91.0% lower
Browserless584.34 ms94.7% lower
dompdf694.65 ms95.6% lower
WeasyPrint1,730.39 ms98.2% lower
react-pdf1,739.83 ms98.2% lower
21 warm requests per cell1 logical CPU1 GiB per deploymentCache disabled
How to read and reproduce these results

On November 29, 2026, one client rotated through renderers on an Intel Core i7-1265U. HTTP time includes reading the finished PDF. CPU covers the service and its children. The RAM metric is the median of each request’s sampled peak, including the warm service and charged file cache. Sampling every 5 ms can miss shorter peaks.

Gotenberg 9.10.3, Browserless Chromium 2.64.4, WeasyPrint 70.0 and Pressjet HTML received the same invoice HTML and print CSS. dompdf 3.1.6 implements CSS 2.1 without flexbox, so it received the same invoice as an HTML table, and its adapter wrote the page footer with dompdf’s page_text. jsPDF 4.2.1 built the invoice using jspdf-autotable 5.0.9 and structured invoice data. Pressjet native received a JSON tree, and react-pdf 4.9.2 built React components. dompdf laid the 500-item invoice out on 18 pages; every other path used 17. Output sizes reflect each engine’s font and tagging choices.

Product names belong to their owners. Pressjet is not affiliated with or endorsed by them.

Reproduce the service comparison ↗ · Individual requests ↗ · Download summary CSV ↓

Move documents off Gotenberg

Five lease documents, printed from the same HTML and CSS by Gotenberg (Chromium) and by Pressjet, and from native JSON by Pressjet. Every Pressjet PDF has Chromium’s page count, page starts and text. Each cell shows Gotenberg / Pressjet HTML / Pressjet JSON, medians of seven warm requests on one logical CPU with 1 GiB per service.

Document Pages HTTP time (ms) CPU (ms) Peak RAM (MiB)
Notice 2 217.1 / 5.4 / 4.3 215.2 / 4.8 / 4.0 533.5 / 12.1 / 11.8
Addendum 4 257.4 / 11.4 / 9.3 252.6 / 10.8 / 8.8 538.9 / 12.6 / 12.6
Lease, 16 clauses 10 273.8 / 29.4 / 21.0 271.6 / 28.1 / 20.1 542.5 / 14.7 / 14.4
Lease, 40 clauses 20 284.1 / 53.2 / 43.6 282.8 / 52.5 / 42.8 547.5 / 16.3 / 16.3
Lease, 104 clauses 47 405.6 / 116.2 / 99.0 404.7 / 114.0 / 98.1 569.2 / 22.4 / 22.1

On the 47-page lease, the same HTML took 71.4% less time, 71.8% less CPU and 96.1% less peak memory in Pressjet. Measured on 29 November 2026. Method and reproduction ↗ · Individual requests ↗

Self-hosting

Small enough to ship.

Run the Rust PDF service on your own infrastructure. One image includes the engine and fonts, and renders both native JSON and HTML.

Deployment footprint

Container images

Image sizes and digests

Local Docker Engine manifests inspected on Linux amd64 on 29 November 2026, for the images in the service benchmark. Stored content is the manifest’s content size. Unpacked layers are the filesystem layer size reported by Docker. These measurements are separate from runtime RAM and PDF file size.

Start your own service

Start the versioned beta image on loopback. Keep the same key in your client environment for subsequent requests.

export PRESSJET_API_KEY="$(openssl rand -hex 32)"
docker run --rm -p 127.0.0.1:8080:8080 \
  -e PRESSJET_API_KEY ghcr.io/tonysantana1492/pressjet:0.1.0-beta.5

In production, configure per-key permissions, rate limits, worker limits and Prometheus metrics. The service supports key rotation and horizontal scaling.

Self-hosting guide ↗ · Compose and Kubernetes ↗
Engine and server · FSL-1.1-ALv2
SDKs and specification · Apache 2.0   License ↗
Inputs & output

One invoice, two inputs.

Switch between the native document tree and the HTML source for Invoice 1042, with eight line items, a purchase order, discount, tax and a deposit. Each preview is rendered by its own endpoint.


            

The JSON endpoint accepts a versioned layout. For HTML, send the markup in a JSON envelope with version and html. Both downloads include the body ready for an authenticated POST. Native layout supports pages, views, text spans and embedded PNG/JPEG images. HTML supports print CSS, repeated table headers, attached images and deployment-installed fonts.

Features

Everything a document needs.

Each example is the code on the left and, beside it, the PDF Pressjet renders from exactly that code. Use the HTTP API from any language, or the TypeScript, Python, Go and PHP SDKs.

Flexbox · Native documents

Lay out with boxes, not coordinates

Rows, columns, gaps, borders, rounded corners and colors, with the same Flexbox rules as the web. Text wraps and every box sizes itself.

POST /v1/generate
import { document, page, text, view } from "pressjet";

const line = (item: string, amount: string) =>
  view(
    {
      style: {
        flexDirection: "row",
        paddingVertical: 7,
        borderBottomWidth: 0.5,
        borderColor: "#d1d5db",
      },
    },
    text({ style: { flex: 1 } }, item),
    text({}, amount),
  );

export default document(
  { title: "Invoice 1042" },
  page(
    {
      size: "420pt 250pt",
      style: {
        padding: 28,
        fontFamily: "Archivo",
        fontSize: 10,
        color: "#1f2937",
      },
    },
    view(
      {
        style: {
          flexDirection: "row",
          justifyContent: "space-between",
          alignItems: "flex-end",
        },
      },
      text(
        { style: { fontSize: 22, fontWeight: 700 } },
        "Northwind Haul",
      ),
      text(
        { style: { color: "#6b7280" } },
        "Invoice 1042 · Due Dec 15",
      ),
    ),
    view(
      { style: { marginTop: 18, borderTopWidth: 1.5 } },
      line("Freight, Dallas to Tulsa", "$1,840.00"),
      line("Liftgate and inside delivery", "$185.00"),
    ),
    view(
      {
        style: {
          marginTop: 16,
          alignSelf: "flex-end",
          width: 170,
          padding: 12,
          borderRadius: 6,
          backgroundColor: "#111827",
          color: "#ffffff",
        },
      },
      text({ style: { fontSize: 9 } }, "TOTAL DUE"),
      text({ style: { fontSize: 20, fontWeight: 700 } }, "$2,025.00"),
    ),
  ),
);
Print HTML

Print the HTML you already have

Send markup and print CSS: @page sizes and margins, tables with repeated headers, @font-face, page counters and break rules. It compiles to the same engine.

POST /v1/html
<!doctype html>
<html lang="en">
  <style>
    @page {
      size: 420pt 240pt;
      margin: 28pt;
    }
    body {
      font:
        10pt Archivo,
        sans-serif;
      color: #1f2937;
    }
    h1 {
      font-size: 20pt;
      margin: 0 0 12pt;
    }
    table {
      width: 100%;
      border-collapse: collapse;
    }
    th {
      text-align: left;
      border-bottom: 1.5pt solid #1f2937;
      padding: 4pt 0;
    }
    td {
      border-bottom: 0.5pt solid #d1d5db;
      padding: 6pt 0;
    }
    td:last-child,
    th:last-child {
      text-align: right;
    }
    .total {
      margin-top: 12pt;
      text-align: right;
      font-size: 14pt;
      font-weight: 700;
    }
    .total span {
      font-weight: 400;
      color: #6b7280;
    }
  </style>
  <h1>Delivery receipt</h1>
  <table>
    <thead>
      <tr>
        <th>Stop</th>
        <th>Pieces</th>
        <th>Signed by</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>Dallas, TX</td>
        <td>12</td>
        <td>M. Collins</td>
      </tr>
      <tr>
        <td>Tulsa, OK</td>
        <td>8</td>
        <td>R. Ortega</td>
      </tr>
    </tbody>
  </table>
  <p class="total">20 pieces <span>delivered</span></p>
</html>
Headers · Footers · Page numbers

Flow across pages on its own

Content continues onto as many pages as it needs. Fixed nodes repeat on every page, and pageNumber prints the page count.

POST /v1/generate
import { document, page, pageNumber, text, view } from "pressjet";

const stops = [
  "Dallas",
  "Tulsa",
  "Wichita",
  "Omaha",
  "Des Moines",
  "Kansas City",
  "Springfield",
  "St. Louis",
  "Memphis",
  "Little Rock",
  "Shreveport",
  "Waco",
  "Austin",
  "San Antonio",
];

const row = (cells: string[], header = false) =>
  view(
    {
      style: {
        flexDirection: "row",
        paddingVertical: 5,
        borderBottomWidth: header ? 1.2 : 0.5,
        borderColor: header ? "#1f2937" : "#d1d5db",
      },
    },
    cells.map((cell, index) =>
      text(
        {
          style: {
            flex: index === 0 ? 2 : 1,
            fontWeight: header ? 700 : 400,
          },
        },
        cell,
      ),
    ),
  );

export default document(
  { title: "Route manifest" },
  page(
    {
      size: "300pt 260pt",
      style: {
        padding: 28,
        fontFamily: "Archivo",
        fontSize: 10,
        color: "#1f2937",
      },
    },
    // A fixed node repeats at the top of every page the table reaches.
    view({ fixed: true }, row(["Stop", "Pieces", "Amount"], true)),
    stops.map((stop, index) =>
      row([
        `${index + 1} · ${stop}`,
        `${((index * 7) % 23) + 3} pcs`,
        `$${((index * 137) % 900) + 120}.00`,
      ]),
    ),
    pageNumber("Page {pageNumber} of {totalPages}", {
      style: {
        position: "absolute",
        bottom: 12,
        right: 28,
        fontSize: 8,
        color: "#6b7280",
      },
    }),
  ),
);
Fixed · Rotated · Translucent

Mark drafts and copies

A fixed node with an absolute position, opacity and a transform sits behind the content of every page.

POST /v1/generate
import { document, page, text } from "pressjet";

export default document(
  { title: "Rate confirmation" },
  page(
    {
      size: "420pt 250pt",
      style: {
        padding: 28,
        fontFamily: "Archivo",
        fontSize: 10,
        color: "#1f2937",
      },
    },
    // Fixed and first: it repeats on every page, behind the content.
    text(
      {
        fixed: true,
        style: {
          position: "absolute",
          top: 60,
          left: 20,
          width: 380,
          textAlign: "center",
          fontSize: 88,
          fontWeight: 700,
          color: "#6b7280",
          opacity: 0.16,
          transform: "rotate(-18deg)",
        },
      },
      "DRAFT",
    ),
    text(
      { style: { fontSize: 20, fontWeight: 700, marginBottom: 10 } },
      "Rate confirmation",
    ),
    text(
      { style: { lineHeight: 1.5, textAlign: "justify" } },
      "Carrier agrees to move one 53 ft dry van load from Dallas, " +
        "TX to Tulsa, OK on December 2 for a flat rate of " +
        "$1,840.00, detention billed after two free hours.",
    ),
    text(
      { style: { marginTop: 12, color: "#6b7280" } },
      "Not valid until both parties sign.",
    ),
  ),
);
QR · PDF417 · Data Matrix · Code 128

Draw barcodes as vectors

Symbols are drawn as shapes, not images, so they stay sharp at any print size. Values may hold the page number.

POST /v1/generate
import { barcode, document, page, text, view } from "pressjet";

const labelled = (code: ReturnType<typeof barcode>, label: string) =>
  view(
    { style: { alignItems: "center" } },
    code,
    text(
      { style: { marginTop: 6, fontSize: 8, color: "#6b7280" } },
      label,
    ),
  );

export default document(
  { title: "Barcodes" },
  page(
    {
      size: "420pt 170pt",
      style: {
        padding: 28,
        fontFamily: "Archivo",
        justifyContent: "center",
      },
    },
    view(
      {
        style: {
          flexDirection: "row",
          justifyContent: "space-between",
          alignItems: "flex-end",
        },
      },
      labelled(
        barcode({
          format: "qr",
          value: "https://pressjet.dev/t/1042",
          style: { width: 78 },
        }),
        "QR",
      ),
      labelled(
        barcode({
          format: "pdf417",
          value: "NWH|1042|DAL-TUL",
          style: { width: 120, height: 44 },
        }),
        "PDF417",
      ),
      labelled(
        barcode({
          format: "datamatrix",
          value: "NWH-1042",
          style: { width: 52 },
        }),
        "DATA MATRIX",
      ),
      labelled(
        barcode({
          format: "code128",
          value: "NWH-1042",
          style: { width: 110, height: 44 },
        }),
        "CODE 128",
      ),
    ),
  ),
);
Signed · Per page

Prove where a page came from

One property stamps every page's margin with a code holding the document id, a digest of its source and the page number, signed with Ed25519. /v1/verify reads a scanned code back.

How verification codes work ↗
POST /v1/generate
import { document, page, text } from "pressjet";

export default document(
  {
    title: "Residential lease",
    // A signed code in every page's margin; /v1/verify reads it.
    verification: {
      id: "KY-2026-0001",
      url: "https://verify.example.com/check",
      position: "bottom-right",
    },
  },
  page(
    {
      size: "420pt 250pt",
      style: {
        padding: 28,
        paddingBottom: 76,
        fontFamily: "Archivo",
        fontSize: 10,
      },
    },
    text(
      { style: { fontSize: 18, fontWeight: 700, marginBottom: 10 } },
      "Residential lease KY-2026-0001",
    ),
    text(
      { style: { lineHeight: 1.5, textAlign: "justify" } },
      "The Tenant shall pay the Rent in full on or before the first " +
        "day of each month, without demand or deduction, at the " +
        "address the Landlord names in writing.",
    ),
  ),
);
PAdES B-B · RSA · SHA-256

Sign the finished PDF

/v1/sign adds a PAdES signature with your PKCS#12 certificate. An id on the signing line reports where it was placed. This sample is signed with the project's self-signed test certificate.

POST /v1/generate, then /v1/sign
import { document, page, text, view } from "pressjet";

export default document(
  { title: "Lease approval" },
  page(
    {
      size: "420pt 220pt",
      style: { padding: 28, fontFamily: "Archivo", fontSize: 10 },
    },
    text(
      { style: { fontSize: 18, fontWeight: 700, marginBottom: 8 } },
      "Lease approval",
    ),
    text(
      { style: { color: "#6b7280" } },
      "By signing, the Landlord approves lease KY-2026-0001 " +
        "and its two addenda.",
    ),
    view(
      { style: { width: 220, marginTop: 34 } },
      // The id reports where the line landed, to place the signature.
      view({
        id: "sig:landlord",
        style: { height: 46, borderBottomWidth: 0.75 },
      }),
      text(
        { style: { marginTop: 5, fontSize: 9 } },
        "Northwind Properties, Landlord",
      ),
    ),
  ),
);

// pressjet.sign(pdf, signer) signs it with the server's certificate.
export const signer = {
  name: "Northwind Properties",
  reason: "Lease approval",
  signingTime: new Date("2026-11-29T15:00:00Z"),
};
Archival · Accessible

Meet archival and accessibility standards

Ask for PDF/A-2b, PDF/UA-1 or both. Roles build the tag tree that screen readers follow; fonts, color profile and metadata are embedded.

POST /v1/generate
import { document, page, text, view } from "pressjet";

const row = (label: string, amount: string) =>
  view(
    {
      role: "row",
      style: {
        flexDirection: "row",
        justifyContent: "space-between",
        paddingVertical: 6,
        borderBottomWidth: 0.5,
        borderColor: "#d1d5db",
      },
    },
    text({ role: "headerCell" }, label),
    text({ role: "cell" }, amount),
  );

export default document(
  {
    title: "Annual statement",
    lang: "en-US",
    created: new Date("2026-11-29T00:00:00Z"),
    conformance: ["pdf-a-2b", "pdf-ua-1"],
  },
  page(
    {
      size: "420pt 220pt",
      style: { padding: 28, fontFamily: "Archivo", fontSize: 10 },
    },
    text(
      {
        role: "heading",
        level: 1,
        style: { fontSize: 18, fontWeight: 700, marginBottom: 8 },
      },
      "Annual statement",
    ),
    text(
      {},
      "Tagged for screen readers and archived with its fonts, " +
        "color profile and metadata.",
    ),
    view(
      { role: "table", style: { marginTop: 14 } },
      row("Rent paid", "$24,000.00"),
      row("Deposit held", "$2,000.00"),
    ),
  ),
);
Check before printing

Catch problems before anyone sees them

/v1/check lays the document out and reports what would look wrong: missing glyphs, broken words, overflowing boxes, stranded headings. Each finding points to its node and says how to fix it.

POST /v1/check
import { document, page, text, view } from "pressjet";

// Two mistakes the report finds before anything is printed.
export default document(
  { title: "Delivery note" },
  page(
    {
      size: "420pt 200pt",
      style: { padding: 28, fontFamily: "Archivo", fontSize: 10 },
    },
    view(
      { style: { flexDirection: "row", gap: 10 } },
      text({ style: { width: 60, fontWeight: 700 } }, "Consignee"),
      // Too narrow for its words.
      text(
        { style: { width: 60 } },
        "Northwind‑Transcontinental Logistics",
      ),
    ),
    // An emoji no embedded font can draw.
    text({ style: { marginTop: 12 } }, "Temperature: 4 ℃ ✓ 🚚"),
  ),
);
Fonts · Styles · Justify

Set type with care

Archivo, Helvetica, Times and Courier are built in, with real bold and italics; send your own fonts or install them on the server. Underline, letter spacing and justified text.

POST /v1/generate
import { document, page, text } from "pressjet";

export default document(
  { title: "Typography" },
  page(
    {
      size: "420pt 250pt",
      style: {
        padding: 28,
        fontFamily: "Archivo",
        fontSize: 10,
        color: "#1f2937",
      },
    },
    text(
      { style: { fontSize: 22, fontWeight: 700 } },
      "Archivo Bold 22",
    ),
    text(
      {
        style: {
          fontFamily: "Times-Roman",
          fontSize: 15,
          marginTop: 10,
        },
      },
      "Times-Roman, with ",
      text({ style: { fontStyle: "italic" } }, "italics"),
      " and ",
      text({ style: { textDecoration: "underline" } }, "underlines"),
      ".",
    ),
    text(
      { style: { fontFamily: "Courier", marginTop: 10 } },
      "Courier  0123456789",
    ),
    text(
      {
        style: { textAlign: "justify", lineHeight: 1.5, marginTop: 12 },
      },
      "Justified text keeps an even right edge across every line " +
        "of a paragraph, hyphenating nothing and shrinking no " +
        "letter, so contracts read as they were drafted.",
    ),
  ),
);

Also: /v1/merge joins PDFs, /v1/rasterize and /v1/preview turn pages into PNGs, /v1/draw places content at fixed positions, and reusable templates bind JSON records to a layout. Inspect the OpenAPI specification ↗

Playground

Draft a template.

Open a sample, or write a short brief for your browser’s local AI. Take the reusable template with you.

Sample loaded. Local AI requires a compatible desktop browser and may download a model on first use.

Edit application data and render locally

The first render loads the beta engine and its embedded fonts (about 13 MB). Your data stays on this device.

Inspect the Pressjet template

            
Native PDF / A4
Agent & local workflows

Beyond the service.

Explore how Pressjet changes a coding agent’s token budget, or inspect local batch exports of one to 200 invoices.

Agent output

fewer output tokens per assigned export

Four fixed tasks, five repetitions per condition, no skills of the machine's user. Input includes cache reads. Times cover the full agent session.

Read the measured study ↗

Invoice batch

1,313.0 ms

Median wall time · 200 physical pages

1 page1050100200 pages

Each page is a separate North Quay Supply invoice with its own invoice number, customer, purchase order and balance. The full batch contains 1,399 line items. Download the 200-page invoice batch ↓

In the HTTP trial, the 200-page batch took 269.4 ms with Pressjet JSON and 1,237.0 ms with Gotenberg HTML. Each result is the median of seven measured requests on one logical CPU. Both PDFs contained the same invoice data and an embedded logo on every page. Download HTTP observations ↓ · Reproduce the test ↗

Invoice INV-1043, page 1, showing billing details, itemized prices and balance due
Page 1 · INV-1043
Invoice INV-1242, page 200, with a different customer, order, line items and balance
Page 200 · INV-1242
Measurement details & raw data

On 29 November 2026, the Pressjet CLI built from the current source (version 0.1.0-beta.1) on Linux x64, pinned to one logical CPU on an Intel Core i7-1265U. Each size had one warm-up and nine measured runs with a fresh CLI process. Wall time includes reading the prepared JSON and writing the PDF. Peak RSS comes from GNU time. The browser run uses WebAssembly. The 200-page HTTP test used a limit of 25,000 layout nodes.

Pressjet blog

Field notes.

All six articles ↗

Frequently asked questions

Hosting and integration

Is there a hosted API, or do I run Pressjet myself?

The public beta is self-hosted. Run Pressjet on your own infrastructure and point your app at your API URL. A managed Pressjet API is on the roadmap.

Install the beta ↗
Do I need a server to export PDFs from my app?

You can run the Linux x64 or ARM64 binary directly, including from a Node.js app with the TypeScript SDK. For a shared service, call the HTTP API with an API key. SDKs are available for TypeScript, Python, Go and PHP. Other languages can use HTTP and JSON directly.

Choose an SDK ↗
What does a production deployment look like?

Run the Linux container with Docker Compose or Kubernetes and put it behind an HTTPS proxy for external access. Configure permissions, rate limits and concurrency per API key. Keys can rotate without a restart, and the service exposes health checks and Prometheus metrics. Add replicas behind a load balancer as traffic grows. Rate limits apply per instance.

Read the self-hosting guide ↗
Where are my documents processed and stored?

On a self-hosted deployment, Pressjet processes requests in memory on your infrastructure. The renderer uses submitted assets and installed fonts, with no remote fetches. The result cache is in memory, expires after 60 seconds by default and can be disabled. Access logs record metadata such as timing and byte counts. Document contents stay out of those logs.

Read how rendering handles data ↗
Can I use Pressjet in a commercial product?

Yes. The engine and server use the Functional Source License, which allows you to self-host Pressjet and generate PDFs for your own commercial product without a license fee. The license restricts offering a competing PDF rendering service. The SDKs and specification are Apache 2.0.

Read the licensing guide ↗
Where can I ask a question or report a problem?

Open a GitHub issue for a beta question, bug or feature request. A minimal sample with fictitious data helps us reproduce a rendering issue. Use the private reporting instructions for security reports.

Go to GitHub issues ↗ Report a security issue privately ↗

PDF features

Can I render the HTML and CSS I already use?

Yes. Send populated HTML and print CSS, with its images and fonts attached where needed. Pressjet supports features like @page, running headers and repeated table headings. Prepare dynamic content in your app before sending it. Pressjet skips JavaScript and reports unsupported CSS through its layout check. The published Beta 1 needs the HTML worker. Newer builds render supported HTML in the main container.

See supported HTML and CSS ↗
Can I design reusable templates with my own fonts?

Yes. Use native JSON or JSX to build a template and fill it with your app’s data. Layouts can flow across pages with repeating headers, footers and page numbers. Embed licensed TrueType or OpenType fonts per request or install them on the server.

Compare a JSON and HTML invoice
Can Pressjet digitally sign PDFs?

Yes. /v1/sign applies a PAdES B-B signature to the finished PDF with the PKCS#12 certificate and key configured on your server. Assemble the final packet before signing so the signature covers the file you deliver. Your app handles signer invitations and approvals. For handwritten signatures, add a line or box to the template.

See the signing example ↗
Can I add draft stamps or watermarks?

Yes. Add fixed text or an image to the page template to mark each generated page. Use it for a DRAFT stamp, a confidential label or a customer-specific copy mark. You can control its position, rotation and opacity.

See the watermark example ↗
Can I add barcodes or verify a printed copy?

Pressjet draws QR Code, PDF417, Data Matrix and Code 128 as vectors. It can also stamp each page with a verification code containing a document ID, page number and source fingerprint. With an Ed25519 key configured, /v1/verify can check the code’s signature. Sign the PDF itself when you need to verify the file’s integrity.

Read about barcodes and verification ↗
Can I generate accessible or archival PDFs?

Pressjet supports tagged PDF/UA-1 for accessibility and PDF/A-2b for archiving from native JSON and supported HTML. Supply semantic headings, reading order, table headers and useful image descriptions for accessible templates. Validate the finished output for the profile you need.

See a tagged invoice example ↗
Can I merge, preview or check PDFs?

You can merge existing PDFs in order, preview a draft as PNG or rasterize pages from an existing PDF. For source layouts, /v1/check reports missing glyphs, overflow and other layout problems before you deliver the document.

See the HTTP operations ↗

Performance and benchmarks

How fast is Pressjet compared with other PDF tools?

For a 500-item invoice, Pressjet produced 17 pages in a median of 30.88 ms from JSON or 53.82 ms from HTML over HTTP. The published comparison includes Gotenberg, Browserless, jsPDF, dompdf, WeasyPrint and react-pdf. It used 21 warm sequential requests per configuration on one logical CPU with caching disabled. The charts show p95, CPU time, memory and file size.

Explore the benchmark results
What happens to page breaks if I move from Gotenberg?

All five lease documents in our migration test matched Gotenberg’s page count, text and page starts using the same HTML. The 47-page lease took 116.2 ms with Pressjet and 405.6 ms with Gotenberg at the median. Table widths and page breaks can vary with the template, so check a representative export first.

See the lease migration results
Can it handle large batches and concurrent requests?

The 200-page invoice batch took a median of 269.4 ms from JSON over HTTP. A separate one-page test reached 791 documents per second with eight concurrent clients on one logical CPU. The server defaults to 200 pages per document. The 500-page test used higher page, layout node and worker memory limits.

Explore the invoice batch See page and concurrency tests ↗
Can I use Pressjet with AI agents?

Yes. An agent can author a JSON template and use the CLI’s layout report to fix problems. Across four measured export tasks, Claude Code used 38.7% fewer output tokens and Codex used 52.8% fewer with Pressjet. Once you review a template, your app can fill it with new data and render it without another model call.

See the agent and template results