Skip to main content

22 posts tagged with "invoice pdf"

View All Tags

HexaPDF Ruby Tutorial: PDF Generation in Rails

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

Ruby on Rails PDF generation with HexaPDF library tutorial

Many Ruby on Rails applications need PDF features that go beyond basic document creation. HexaPDF is a pure Ruby library built for both generating and manipulating PDF files. Unlike libraries that focus only on PDF generation, HexaPDF covers the full PDF lifecycle – from programmatic document creation to modifying existing files. It supports digital signatures, encryption, form handling, and document merging, making it a good fit for Rails applications with complex document workflows.

HTML to PDF in Rails with Puppeteer-Ruby Gem

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

Generate PDF from HTML using Puppeteer-Ruby in Ruby on Rails

Web applications frequently need to generate high-quality PDF documents from HTML content – invoices, reports, certificates, and business documentation. Puppeteer-Ruby is a pure Ruby port of Google's Puppeteer API that gives you direct access to Chrome's rendering engine for Ruby on Rails PDF generation. This guide walks you through implementing HTML to PDF conversion using Puppeteer-Ruby, producing high-quality results with full support for modern CSS and JavaScript.

HTML to PDF in Rails: Complete Guide with Grover Gem

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

Generate PDF from HTML using Grover in Ruby on Rails

Modern web applications frequently need to generate professional PDF documents for invoices, reports, contracts, and other business materials. The Grover gem is a widely used Ruby on Rails PDF generator that relies on Google Chrome's headless browser for accurate rendering with full CSS3, Flexbox, and Grid support. This tutorial walks you through Ruby HTML to PDF conversion using Grover's Chrome-based engine integrated with Rails' ERB templating system.

Ruby on Rails PDF Generation with Prawn: Complete Tutorial

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

Professional PDF document generation with Prawn gem in Ruby on Rails

The Prawn gem is one of the most downloaded Ruby on Rails PDF generator libraries, used for creating complex, well-designed PDFs with clean and readable code. Below you'll learn how to set up Prawn, build an invoice PDF with tables and custom fonts, and configure the rendering options.

WickedPDF Tutorial: HTML to PDF in Ruby on Rails

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

Ruby on Rails PDF Generation with WickedPDF

WickedPDF is the most popular HTML to PDF gem for Ruby on Rails, providing tight integration with Rails' built-in ERB templating system. Below you'll learn how to set up WickedPDF, build an invoice PDF with ERB templates, and configure the rendering options.

Apache PDFBox Java Tutorial: How to Generate PDFs

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

Apache PDFBox Java Tutorial: Generate PDFs from HTML with Code Examples

Most Java HTML to PDF libraries rely on browser engines to render content. But if you need full control over layout, fonts, positioning, and structure – especially for invoices, reports, or certificates – Apache PDFBox offers a code-driven alternative. Rather than converting web pages, PDFBox lets you programmatically construct PDF documents from scratch using Java. This guide covers PDFBox's low-level API for creating formatted PDFs – you skip browser dependencies entirely and control exactly how your documents are styled, structured, and generated.

How to Generate PDF from HTML in Java Using Flying Saucer

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

Convert HTML to PDF in Java using Flying Saucer and Thymeleaf – step-by-step guide

Looking for a reliable way to convert HTML to PDF in Java – without relying on headless browsers or heavyweight libraries? In this tutorial, you'll learn how to use Flying Saucer (xhtmlrenderer) together with Thymeleaf templates to generate clean, print-ready PDFs directly in your Java application. Flying Saucer is a lightweight, pure Java library that renders XHTML and CSS into PDF format – no external rendering engines required. It works well for reports, invoices, and other dynamic documents where fast, consistent PDF generation matters.

HTML to PDF in Java with Playwright and Thymeleaf

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

HTML to PDF with Playwright in Java

Need to convert HTML to PDF in your Java project? This tutorial shows you how to use Playwright for Java together with Thymeleaf templates to generate clean, well-formatted PDFs. We'll build an invoice generator that renders HTML to PDF using a headless Chromium browser, with full CSS and JavaScript support. The code examples are ready to copy and adapt for your own HTML to PDF generation in Java.

OpenPDF in Java: How to Generate Professional PDF Documents

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

Generate PDFs with OpenPDF in Java

Programmatic PDF generation is a common requirement for Java applications that produce invoices, reports, or contracts. OpenPDF, a lightweight and open-source PDF library derived from iText, provides a free solution for creating these documents in Java. In this step-by-step guide, we'll build a PDF invoice generator using OpenPDF as a practical example you can adapt to your own projects.

Convert HTML to PDF in C# and .NET with DinkToPdf

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

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

If you need a reliable way to convert HTML to PDF in C# and .NET, this guide walks you through using DinkToPdf, a .NET wrapper for the wkhtmltopdf library, to generate PDFs from HTML content. DinkToPdf can handle invoices, reports, and other documents that need consistent PDF output. This step-by-step tutorial covers setting up a complete HTML to PDF conversion system in your .NET application, from project scaffolding to a finished invoice generator.