ERD Report Renderer
The rendering engine behind ERD Report Cloud, as one static Linux binary: a request on stdin, the document on stdout.
Render reports and labels inside your own process
One static Linux binary. A request on stdin, the document on stdout.
ERD Report Renderer is the engine that draws ERD Report Cloud's documents, packaged for your own server. Your application sends a template and its data to the process and reads back a PDF, a DOCX document, an XLSX workbook, a self-contained web page, an image, or label and receipt bytes. There is no service to keep running, no port to open and no file on disk — and nothing leaves the machine.
Licensing
ERD Report Renderer is private software.
Free covers personal projects and evaluation with full functionality, no time limit and no watermarks — enough to build and test a complete integration before you buy.
Standard is the commercial licence for use inside your own organisation;
Enterprise adds the right to ship the engine inside a product you deliver to others.
A licence is a signed token verified offline: no licence server, no callback and no outbound connection. It is per customer, not per machine — one licence covers every instance you run. Without a token the installation renders in evaluation mode with full functionality and a short notice on standard error.
Licensing and questions
Choose Standard or Enterprise, pick a term from one to ten years and see the total before you send the request. Licences are per customer, not per machine.
Request a licenceHow it works
Draw the template
In the ERD Report Designer, or by hand in the template format. A template is JSON: pages, elements, bands and expressions — never code.
Send the request
One JSON manifest line, then the bytes it measures: the template, the data and — only if you use them — subreports and a workbook password.
Read the document
One JSON result line naming the output size, then exactly those document bytes. Exit code 0.
Repeat or pool
Start a process per render, or keep a small pool. Rendering is CPU-bound and a process holds no state between requests.
No request file, no output file, no scratch space of its own: the template and the data arrive on standard input and the document leaves on standard output. The only thing ever written is font metadata in the cache directory. A refused render leaves stdout empty and puts one diagnostic line on standard error, with an exit code that names the problem class.
What it renders
| Output | Formats |
|---|---|
| Documents | PDF, DOCX, XLSX (also password-protected) and HTML as one self-contained file |
| Images | PNG, JPEG and WebP, one page at a time, with resolution and quality options |
| Labels | ZPL, TSPL, EPL2 and DYMO |
| Receipts | ESC/POS |
| Consistency | The same document ERD Report Cloud produces, from the same template |
Measured, not estimated
What a fresh process adds over a warm one: spawn (1.1 ms) plus loading fonts and glyph caches.
Median to a PDF, process start included.
Peak RSS; about 0.6 MB per page beyond it, 625 MB at 1000 pages.
One-page PDFs, per core. The CPU is the limit, not the software.
Latency, measured per process
| Document | Pages | p50 | p95 |
|---|---|---|---|
| Invoice, PDF | 1 | 31 ms | 37 ms |
| Invoice, PDF | 10 | 79 ms | 87 ms |
| Invoice, PDF | 100 | 0.64 s | 0.73 s |
| Invoice, PDF | 1000 | 5.7 s | 7.2 s |
| Invoice, HTML | 1 | 199 ms | 213 ms |
| Invoice, DOCX | 1 | 23 ms | 27 ms |
| Invoice, XLSX | 1 | 22 ms | 25 ms |
| Invoice, PNG proof | 1 | 37 ms | 41 ms |
Benchmark environment
Measured on Linux x86-64 with six vCPUs on an eight-year-old Intel Core i7 desktop (a 2018 Mac mini with 32 GB RAM) under normal workstation load, not on bare-metal server hardware. Every figure runs from spawning the binary to the document's last byte, so process start is included and nothing is kept warm between requests: a fresh process adds about 12 ms to a render. The Report Server page measures the same engine over HTTP with one warm process, which is why its one-page invoice is 19 ms rather than 31 ms.
Inside the engine
Banded reports and cross-tabs
Report, page, group and detail bands with running totals, subreports, vertical and multi-column layouts, watermarks and multi-dimensional cross-tabs.
17 barcode symbologies
QR (including the SEPA payment QR), Data Matrix, PDF417, Aztec, Code 128, GS1-128, Code 39, EAN-13, EAN-8, UPC-A, ITF-14, POSTNET, USPS Intelligent Mail, Royal Mail 4-State, Australia Post, Japan Post and KIX.
A safe expression language
Templates are JSON with declarative EREL bindings — no loops, no closures, no network or file access — so a template is reviewed, not executed.
Text for every script
UAX #9 bidirectional text and HarfBuzz shaping, with 130 font families (372 files) shipped with the engine so output is identical on every machine.
Quick start
tar xzf erd-report-renderer-1.0.2-linux-x64.tar.gz
cd erd-report-renderer-1.0.2-linux-x64
./erd-report-render < request.bin > invoice.pdf The request manifest
{"protocol":2,"format":"pdf","sections":{"template":1234,"data":56},"fonts":"/opt/erd-report/fonts"} A report tool for PDFs and a second tool for labels is the usual setup: two template formats, two stores, two licences. This one engine writes both. A4 invoices and reports as PDF, DOCX, XLSX or HTML; shipping and product labels as ZPL, TSPL, EPL2 or DYMO; till receipts as ESC/POS. The office printer, the warehouse printer and the counter are the same template language and the same renderer, so there is no separate label product to buy, learn or keep in step.
Why a process instead of a service
Runs anywhere
Fully static: no libc, no shared libraries, no root. Copy it to a Linux x86-64 machine and run it.
Deterministic
One process per render means no shared state, no cache to invalidate and nothing to restart.
Offline
No network call, no account and no API key. The licence is verified inside the process.
Complete
The archive ships 130 font families in 372 files, each with its own licence, plus the label and receipt writers.
Your data stays
Templates and data are handed to a process you started; they are not uploaded and not retained anywhere.
The Cloud, the Renderer and the Server are one engine over one request format.
The same template and the same data give the same document, byte for byte — the same SHA-256 — whichever surface draws it: our hosted service, the binary inside your own process, or the container inside your own network.
It is measured, not claimed: a 54-request corpus in 12 formats, three runs per build, across glibc, musl and ARM64, produced identical document bytes and zero differing pixels in 45 image and PDF-page comparisons; encrypted workbooks decrypt to the same plaintext while their ciphertexts differ, as encryption must.
What that buys you: a document approved on the Cloud is the document your own installation produces, so moving a workload in-house changes no byte; a SHA-256 printed in a test, an audit trail or a cache key stays valid on all three; and a reconciliation you can run yourself instead of taking on trust. (Measured on Linux x64 and emulated ARM64 — native Windows and macOS builds are not part of that measurement yet.)
Requirements
| Requirement | Detail |
|---|---|
| Operating system | Linux x86-64, fully static build |
| Privileges | None. It runs as an ordinary unprivileged user |
| Writable path | One directory for font metadata (XDG_CACHE_HOME or TMPDIR). Nothing else |
| Fonts | The 130 families ship with it; the fonts of the host are never read |
| Optional | A resources folder with images and fonts a template refers to by name |
What a licence does not charge for
| Typical commercial model | Here |
|---|---|
| Per developer seat | Not charged. The licence is per customer, so every developer on the team can build with it. |
| Per CPU core or worker | Not charged. The engine uses the cores the machine has; a bigger machine needs no new licence. |
| Per machine or environment | Not charged. Every installation you run is covered by the same licence. |
| Per render or per page | Not charged. No metering, no overage, no invoice that grows with volume. |
| Watermark or feature gate | None. The Free edition is the same engine, with no watermark and no time limit. |
Licences
Free
- Personal and non-commercial projects
- Unrestricted development and evaluation — no time limit
- Build and test a complete integration before you buy
- Full functionality — no watermarks, no feature gates
- No account and no network access
Standard
- Commercial use inside your own organisation
- Unlimited instances and renders
- Every format and every font in the archive
- Offline token — no licence server
- No per-render or per-page fees
- Standard support — 48-hour email response
Enterprise
- Everything in Standard
- OEM: ship the engine inside your own product
- Redistribution to your customers
- A named contact for licensing questions
- Standard support — 48-hour email response
Need help integrating ERD Report Renderer, building complex templates, or custom features? Hire the creator directly.
Renderer or Report Server?
| Feature | ERD Report Renderer | ERD Report Server |
|---|---|---|
| Shape | One process per render | One HTTP route in a container |
| How you call it | Write to stdin, read from stdout | POST the request, read the response body |
| Concurrency | As many processes as you start | One render at a time per container; scale with containers |
| Best for | Applications that already run a backend | A report service of your own, next to an existing stack |
| Output formats | All twelve | All twelve |
| Same bytes as the Cloud | Yes — same engine, same SHA-256 | Yes — same engine, same SHA-256 |
Download
PDF/A and PDF/UA, signed PDFs, native Word and Excel files, one self-contained HTML file, four thermal label languages and ESC/POS receipts — the output formats page lists what each one carries. The engine page follows a request through the five stages and names what the engine refuses.
Questions
Does it run on Windows or macOS?
This build is published for Linux x86-64 only, as a fully static binary. Windows and macOS hosts run it in a Linux container or virtual machine.
Do I need a licence server or an internet connection?
No. The token is verified offline, from an environment variable, a file or /etc/erd-report/license. Rendering itself never contacts anything, unless a template asks for a timestamp authority for a signed PDF.
What happens without a licence?
The installation runs in evaluation mode with full functionality and prints a short notice on standard error. A licence replaces that notice with your organisation, edition and expiry date.
Can I use my own fonts?
The 130 families the designer offers ship with the renderer. Fonts a template refers to by name go in the resources folder; images can be embedded in the template itself.
Where do templates come from?
From the ERD Report Designer, or from any tool that writes the template format. A template is JSON and holds expressions, never code.
Can I verify the download?
Yes. The archive ships with a checksum file and a provenance file that names the exact build, and you can check it with sha256sum -c.
Which licence texts come with it?
The archive includes the licence, the notice, the full third-party notices and the licence of every font family. Those files travel with every copy.
Does it support PDF/A archiving and cryptographic digital signatures?
Yes. The engine natively generates PDF/A-2a, PDF/A-2b, PDF/A-2u and PDF/UA-1 tagged documents, and signs PDFs using PKCS#7 or PAdES (ETSI.CAdES.detached) with optional RFC 3161 timestamps.
Can it generate European SEPA payment QR codes (EPC / GiroCode)?
Yes. QR barcode elements support a native EPC069-12 payment payload, with built-in validation for IBANs, ISO 11649 RF creditor references and Belgian structured communications (+++ddd/dddd/ddddd+++).
Are Excel (XLSX) exports real spreadsheets or just layout grids?
Real spreadsheets. Bound numbers, dates and booleans keep their native Excel cell types and number formats, so formulas such as SUM() work immediately, alongside native Excel charts and optional AES-256 encryption.
Frequently asked questions
What is EREL?
EREL — the ERD Reporting Expression Language — is the small, safe language a template uses wherever a value has to be worked out: an element binding, a visibility rule, a group key, a formatting rule, a chart series, a barcode value.
It is deliberately closed. There are literals, references to the data and to the report, member access, a fixed set of built-in functions such as format.currency, concat and count, and the usual arithmetic, comparison, logical and conditional operators. There is no input or output, no loop, no user-defined function and no way to reach the host, so a template stays data and never becomes code.
The designer and the engine each implement EREL, and both have to produce the same value — or the same diagnostic — for every valid expression. That is why a template looks the same in the designer and in the document ERD Report Renderer produces from it.
What is a template?
A template is a JSON document (format erd-report-template, templateVersion 1): pages measured in points, each holding elements with a fixed frame and optional repeating bands, with an EREL expression wherever a value comes from the data. It can carry a dataSchema that says which data it expects, and images are embedded as data URIs — a URL or a file path in a template is never fetched.
The designer exports it, and your application hands it to the binary in the request itself: the manifest line, then the template bytes, then the data. The renderer keeps no template store, so every call carries the template it should draw.