HTML to PDF

Generate Invoice PDFs in Node.js: Numbering, VAT, Webhooks and Email

A tested Node.js walkthrough. Sequential numbering, integer money with VAT by rate, an HTML template rendered to PDF with page numbers, a webhook that is safe to retry, email delivery and month-end batches.

10 min readDemetra TheodorouOct 24, 2026
HTML to PDF

HTML to PDF in C#: From Razor Markup to a Streamed Invoice

Turn Razor markup or any HTML into a PDF from C# and stream it from an ASP.NET Core endpoint. Page setup, running headers, data templates and error handling, with every sample run before publishing.

12 min readDemetra TheodorouOct 21, 2026
HTML to PDF

HTML to PDF in Java: Thymeleaf Templates to Finished PDFs

Render Thymeleaf templates and plain HTML to PDF from Java, with page setup, headers, JavaScript content and a Spring Boot controller. Every listing was compiled and run before publishing.

12 min readDemetra TheodorouOct 21, 2026
HTML to PDF

HTML to PDF in Python: Django, Flask and FastAPI Covered

Generate PDFs from HTML and Jinja templates in Python and serve them from Django, Flask or FastAPI. Page setup, headers, async calls and error handling, all run before publishing.

12 min readDemetra TheodorouOct 21, 2026
HTML to PDF

HTML to PDF in Node.js: From a Script to an Express Route

Start with a ten-line script and end with an Express route that serves PDFs. Page setup, headers, template literals, JavaScript content and errors, every sample run before publishing.

12 min readDemetra TheodorouOct 21, 2026
HTML to PDF

HTML to PDF in PHP: Blade Invoices From a Laravel Controller

Render Blade views and plain HTML to PDF from PHP and serve them from a Laravel controller. Page setup, headers, escaped templates and error handling, with every sample run before publishing.

12 min readDemetra TheodorouOct 21, 2026
PDF Processing

Flatten a PDF in C#: Make Filled Forms Read-Only in .NET

Make a filled PDF form read-only from .NET: upload, flatten and download with three async calls, lock only some fields, or generate and lock a form from HTML. Tested code throughout.

9 min readDemetra TheodorouOct 21, 2026
PDF Processing

Flatten a PDF in Java: Lock Form Fields From Spring Boot

Lock the fields of a filled PDF from Java and serve the result from Spring Boot. Whole forms, chosen fields, forms generated from HTML, and a plain java.net.http version. Tested code throughout.

9 min readDemetra TheodorouOct 21, 2026
This website uses cookies to offer a better browsing experience. By clicking on the "Accept" button you accept our Cookie policy.