Articles
Implementation notes and trade-offs, written against DocStudio 0.2.0.
- Comparison
Browser printing vs server-side PDF generation
Compare browser printing and server-side PDF generation for HTML documents: requirements, control, consistency, fonts, security and cost, with DocStudio examples.
- Tutorial
Building dynamic reports with DocStudio
Build a multi-section data report with DocStudio: KPI tiles from aggregates, a table with percentages and totals, a repeater for highlights and page furniture.
- Guide
Building reusable document templates in TypeScript
Structure DocStudio templates for reuse: named styles, page furniture, versioned components with props and slots, and a typed pipeline in TypeScript.
- Guide
Handling Arabic and Urdu in PDF documents
What to configure for Arabic and Urdu documents in DocStudio: page direction, locale, fonts, mixed content, and the PDF text extraction limitation to plan around.
- Tutorial
How to generate documents from JSON data
Turn API or database JSON into invoices and reports with DocStudio: bind paths, compute totals with expressions, choose a missing-data policy and handle diagnostics.
- Tutorial
How to generate dynamic PDFs in React
Three ways to produce PDFs from a React app with DocStudio: live preview from state, browser printing with printHtml, and a server PDF endpoint, with the trade-offs of each.
- Comparison
Visual document design vs hardcoded PDF layouts
Compare designing document templates visually with hardcoding layouts in code: who changes what, how previews stay accurate, testing, and when each approach fits.