Guides
Step-by-step tutorials for generating invoices, certificates and reports from no-code tools, AI app builders and your own code, plus fixes for the PDF problems people search for.
No-code
Zapier, Make, n8n, Bubble, Airtable and Google Sheets: a document from every new row, form or order.
Generate PDFs from AirtableTurn Airtable records into invoice PDFs with an automation script, and save each PDF back into an attachment field. No extra apps needed.Generate PDFs from Google SheetsTurn a Google Sheets row into an invoice or certificate PDF with Apps Script and UrlFetchApp, saved to Google Drive. Copy-paste script included.Generate PDFs in BubbleCreate an invoice PDF from a Bubble database thing with the API Connector and DevilPDF, and save it back to the record.Generate PDFs with MakeBuild a Make scenario that turns orders, form entries or sheet rows into PDF invoices and certificates with the HTTP module and DevilPDF.Generate PDFs with n8nGenerate invoices and reports in n8n workflows with the HTTP Request node and DevilPDF. Works on n8n Cloud and self-hosted.Generate PDFs with ZapierCreate invoices, receipts and certificates from any Zapier trigger with the Webhooks by Zapier action and DevilPDF. Step by step, no code.
AI app builders
Lovable, Bolt and Supabase apps cannot run a browser to print PDFs. Call an API from a server function instead.
Generate PDFs from a Supabase Edge FunctionSupabase Edge Functions cannot run headless Chrome. Generate invoices from a Deno edge function with one API call and save them to Supabase Storage.Generate PDFs in a Bolt appAdd PDF invoices, receipts and certificates to an app built with Bolt. A prompt to paste, server code for Supabase or Netlify, and the API key kept secret.Generate PDFs in a Lovable appAdd invoice, receipt and certificate PDFs to a Lovable app. A prompt to paste, the edge function it should build, and how to keep the API key secret.
Frameworks
A PDF from your own backend in a few lines, with plain HTTP and no extra packages.
Generate PDFs in LaravelCreate invoices and receipts as PDFs in Laravel with the Http facade. No dompdf layout limits, no Chrome on the server.Generate PDFs in Next.jsA Next.js route handler that returns invoices and receipts as PDFs. No Puppeteer or Chromium in your bundle, works on Vercel.Generate PDFs in Node.jsCreate invoices, receipts and reports from JSON in Node.js with one fetch call. No Chrome, no Puppeteer, works on any host.Generate PDFs in PythonTurn JSON into invoices, receipts and reports from Python with requests. Flask and Django examples, no wkhtmltopdf or headless Chrome.Generate PDFs in RailsRender invoices and receipts as PDFs from Ruby on Rails with Net::HTTP or Faraday. No wkhtmltopdf, no Chrome on your servers.
Problems
Blank Arabic, missing Chinese, broken right-to-left: why it happens and how to fix it, with sources.
Arabic text missing in PDFs on Vercel or AWS LambdaPuppeteer PDFs on Vercel or Lambda show boxes or blanks for Arabic, Chinese or Hindi text. Why @sparticuz/chromium has no fonts for them, and how to fix it.jsPDF Arabic text missing or brokenWhy jsPDF drops or disconnects Arabic letters with some fonts, how to pick a font that works, and a tested fix with addFileToVFS and addFont.react-pdf right-to-left and Arabic problemsArabic and Hebrew in @react-pdf/renderer: misplaced dots, reversed copied text, RTL layout. What the open issues say, tested workarounds, and an API option.