Tired of PrinceXML layout bugs? Switch to the PDF API that uses the same rendering engine as your browser. Get modern CSS support and credits that never expire.
DocRaptor uses the PrinceXML engine. While powerful, it often requires "special" CSS just for PDFs. PageSnap uses the latest Headless Chrome. If it looks perfect in your browser, it will look perfect in our PDF.
| Feature | DocRaptor | PageSnap |
|---|---|---|
| Rendering Engine | PrinceXML | Latest Headless Chrome |
| Unused Credits | Expire monthly | Rollover (Never Expire) |
| Sandbox Testing | Limited | 50 Free Sandbox Requests/Day |
| Wait Strategies | Proprietary | NetworkIdle, DOMContentLoaded, Load |
Stop guessing how your Flexbox layout or complex Charts.js graph will render. Because we use a full Chrome environment, you can use modern web tools. Debugging is as simple as opening "Print" in your browser.
DocRaptor's plans can be expensive, and unused quota often vanishes. PageSnap credits never expire. We are built for developers and startups who need reliability without the "enterprise" tax.
Don't waste server resources generating HTML strings. Save your templates in your PageSnap portal and simply send us your JSON data. We'll merge it and generate the PDF in one step.
Switching is easy. Here is how a standard request looks using our API:
{
"sandbox": false,
"contents": {
"htmls": ["<html><body><h1>Invoice for {{name}}</h1></body></html>"],
"templates": [
{
"uuid": "your-template-uuid",
"data": { "name": "Customer Name" }
}
]
},
"options": {
"format": "A4",
"landscape": false,
"print_background": true,
"wait_until": "networkidle0"
}
}
A: Yes. Use display_header_footer: true and provide your header_template. You can use CSS classes like pageNumber and totalPages to inject dynamic values automatically.
A: Absolutely. Use the s3_path_url parameter to send the PDF directly to your own AWS S3 bucket.
A: Set "sandbox": true in your request. You get 50 free sandbox requests every day to perfect your layout before going live.
Join the developers moving to a more reliable, transparent PDF API.
Get 60 Free Credits Per Month - No Credit Card Required