Sample Documents
Not sure if you can do your document in DocRaptor? We're pretty sure you can! Here are some great examples.
Financial Statement
As the most advanced HTML-to-PDF API and the only one backed by PrinceXML, we make even complex documents easy.
-
Different Page Orientations
We're the only API that can vary orientations and headers within a document.
-
Google Charts & Highcharts
You can delay the rendering until JavaScript is finished.
-
Advanced CSS support
Including columns, flexbox, transforms, filters, and more.
-
Page Numbers
Add page counts wherever you want with CSS.
-
Password Protection
Hint: the password is "password" ;)
Printed Brochure
This example highlights the DocRaptor and Prince functionality for printed documents. In this case, a segment from a commercial real estate brochure.

1
2
3
4
-
CMYK & Automatic Conversion
The only API to support CMYK and color profiles.
-
Crop & Cross Marks
Automatically include and place print marks.
-
TIFF Images
Unlike browser-based engines, we support TIFF.
-
Google Maps
Easily include Google Maps Static Images.
Invoice
This is the actual code we use for the DocRaptor invoice we send to our awesome customers.
-
Full Bleed
Need cropmarks? Those are easy too!
-
SVG Embed
The logo is an SVG
<img>
tag.<svg>
works too! -
CSS3
Here, rotations. Need shadows or rounded corners? Easy!
-
Custom Fonts
In this case: Myriad Pro.
-
PDF Footer
Move any content into headers or footers, across pages!
Cookbook
This yummy recipe showcases some of DocRaptor and Prince's text and paragraph management abilities.
-
Automatic Footnotes
Insert and position footnotes with
float: footnote
-
Widow & Orphan Control
Minimum lines before or after page and column breaks
-
Text Substitution
As easy as
prince-text-replace: "'" "’";
-
Automatic Page References
Add page and chapter counts to links, like [see Page 19]
eBook
We've got many customers that use DocRaptor to generate eBooks on the fly. Here's some of the most important features for them!

1
2
3
-
Table of Contents
Dynamic and linked.
-
Internal Links
Link to any place in your document.
-
Watermarking
On some pages or on every page.
-
Document Security
Passwords, encryption, metadata.