Skip to main content

22 posts tagged with "invoice pdf"

View All Tags

Generate PDFs in C# Using QuestPDF: Complete Guide

· 16 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

PDF document generation with QuestPDF library in C#/.NET

PDF generation in .NET has always been a bit of a pain – absolute positioning, manual pagination, fiddly styling calculations. QuestPDF takes a different approach with a layout-based system and a fluent API that feels natural to C# developers. This guide walks through how QuestPDF handles PDF creation, from basic setup to building a full invoice with QR codes.

Generate PDFs in C# with PDFsharp: Complete Guide

· 18 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Generate PDF with PDFsharp library in C#/.NET

For .NET developers, programmatically generating and modifying PDFs comes up in a lot of business applications. PDFsharp is a well-established .NET library that makes creating complex, multi-page documents easy and accessible. This guide covers everything you need to know about generating PDFs using PDFsharp in C# and .NET applications.

C# HTML to PDF with Playwright .NET: Full Guide

· 17 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Generate PDF from HTML using Playwright in C#/.NET

This guide shows you how to use Microsoft Playwright for .NET and C# to generate high-quality PDFs from HTML. You'll build a complete solution that combines Scriban templates with Playwright's browser automation to produce accurate, print-ready documents. The step-by-step tutorial covers everything from project setup to invoice generation, with all the code you need to add PDF generation to your .NET applications.

HTML to PDF in C# and .NET with iText 7: Complete Guide

· 15 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Convert HTML to PDF using iText 7 in C#/.NET

Generating PDFs from HTML in C# applications is a common requirement for invoices, reports, and business documents. This guide walks you through iText 7 HTML to PDF conversion in .NET – the modern, redesigned successor to iTextSharp – combined with Razor templating for dynamic document generation. You'll set up the project from scratch, build a working invoice generator with precise layout control, and get ready-to-use code examples using iText 7's pdfhtml module.

HTML to PDF in C# with PuppeteerSharp: Complete Guide

· 14 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Guide to generating PDF from HTML using PuppeteerSharp in C#/.NET

Looking for a reliable way to convert HTML to PDF in C# and .NET? This guide shows you how to use PuppeteerSharp, the .NET port of the Node.js Puppeteer library, to generate PDFs from dynamic HTML content. Whether you're building invoices, reports, or print-ready web pages, PuppeteerSharp gives you full control over headless Chromium rendering, enabling pixel-perfect PDF output using modern HTML and CSS. This guide covers setting up a C#/.NET project, using a template engine for dynamic content, and exporting an invoice PDF as the final result.

Generate PDF Using PDF-lib in Node.js

· 18 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Visual representation of PDF generation with PDF-lib in Node.js

If your Node.js app needs to generate or modify PDFs, pdf-lib is worth a look. It is one of several Node.js PDF libraries, each with different trade-offs. PDF‑lib is a pure JavaScript library for creating and modifying PDF documents. Unlike many alternatives, PDF-lib doesn't rely on native dependencies, making it lightweight and easy to integrate into any Node.js project. This guide covers PDF generation with PDF-lib in Node.js – from basic documents to invoices and forms.

How to Generate PDF in Node.js Using PDFKit

· 13 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Generate PDF in Node.js Using PDFKit

PDFKit is a JavaScript library that generates PDF documents programmatically in Node.js. It works without converting HTML – you build documents from scratch using a canvas-like API for vector graphics, text, images, and tables. This guide covers PDFKit setup, text styling, custom fonts, colors, images, tables, invoice generation, Express.js integration, and document security.

Generate PDF with PDFMake in Node.js: Full Guide

· 17 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Node.js PDF generation using PDFMake - professional document examples created with JavaScript

Many server-side applications need to generate PDFs – invoices, reports, statements, certificates. PDFMake is one of the most popular Node.js PDF generation libraries: it works without native dependencies, uses a declarative JSON syntax for document definitions, and runs in both browser and server environments.

This guide covers PDFMake setup in Node.js, document structure, tables, images, watermarks, Express.js integration, and a full invoice example.

HTML to PDF in PHP Using DomPDF: Complete Tutorial

· 13 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

PHP HTML to PDF conversion with DomPDF library

DomPDF is one of the most popular PHP libraries for converting HTML to PDF. This tutorial walks through PHP HTML to PDF conversion step by step: from a basic DomPDF setup to a full invoice generator using Twig templates. You will also find troubleshooting tips and a comparison with API-based PHP PDF generation alternatives.

How to Convert HTML to PDF Using an API: Quick Start Guide

· 10 min read
Milena Szymanowska
Milena Szymanowska
PDFBolt Co-Founder

HTML to PDF API Conversion Process showing API-based PDF generation

If you need to generate PDFs from HTML in a production app, you have two options: run a local rendering tool yourself (Puppeteer, Playwright, wkhtmltopdf) or call an HTML to PDF API that does the rendering for you. This tutorial covers the API approach with a complete Node.js example that generates invoice PDFs using EJS templates and the PDFBolt API. You will also find a comparison with headless browser solutions to help you pick the right tool for your project.