PDF Generator
Generate pixel-perfect PDFs from HTML, URLs, or programmatically using your choice of rendering engine.
Complete Data Isolation
Primus PDF Generator runs entirely within your infrastructure. All PDF generation happens locally. No document content is ever transmitted to Primus servers.
Provider Comparison
| Feature | Playwright | Puppeteer | PDFKit |
|---|---|---|---|
| HTML Rendering | Full CSS/JS | Full CSS/JS | Text only |
| URL to PDF | Yes | Yes | No |
| Programmatic | Limited | Limited | Full control |
| .NET Native | Yes | Node.js | Partial |
| Node.js Native | Yes | Yes | Yes |
| Best For | Reports, Invoices | Screenshots + PDF | Certificates, Forms |
Quick Decision Guide
| Use Case | Recommended Provider |
|---|---|
| HTML/CSS templates PDF | Playwright |
| Screenshot a webpage | Puppeteer |
| Generate invoices from data | PDFKit |
| Cross-platform .NET app | Playwright |
| Node.js microservice | Puppeteer |
Packages
| Platform | Package |
|---|---|
| .NET | PrimusSaaS.PdfGenerator |
| Node.js | playwright / puppeteer / pdfkit |
Next Steps
| Want to... | See Guide |
|---|---|
| 5-minute setup | Integration Guide |
| Headers, footers, multi-page | Advanced |
| Interactive demo | Playground |