DocRaptor

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.

  1. Different Page Orientations We're the only API that can vary orientations and headers within a document.
    Sample.statement orientation
  2. Google Charts & Highcharts You can delay the rendering until JavaScript is finished.
    Sample.statement chart
  3. Advanced CSS support Including columns, flexbox, transforms, filters, and more.
    Sample.statement columns
  4. Page Numbers Add page counts wherever you want with CSS.
    Sample.statement page number
  5. Password Protection Hint: the password is "password" ;)
    Sample.statement 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.

Sample.brochure
1
2
3
4
  1. CMYK & Automatic Conversion The only API to support CMYK and color profiles.
    Sample.brochure cmyk
  2. Crop & Cross Marks Automatically include and place print marks.
    Sample.brochure mark
  3. TIFF Images Unlike browser-based engines, we support TIFF.
    Sample.brochure tiff
  4. Google Maps Easily include Google Maps Static Images.
    Sample.brochure map

Invoice

This is the actual code we use for the DocRaptor invoice we send to our awesome customers.

  1. Full Bleed Need cropmarks? Those are easy too!
    Sample.invoice bleed
  2. SVG Embed The logo is an SVG <img> tag. <svg> works too!
    Sample.invoice svg
  3. CSS3 Here, rotations. Need shadows or rounded corners? Easy!
    Sample.invoice css3
  4. Custom Fonts In this case: Myriad Pro.
    Sample.invoice fonts
  5. PDF Footer Move any content into headers or footers, across pages!
    Sample.invoice footer

Cookbook

This yummy recipe showcases some of DocRaptor and Prince's text and paragraph management abilities.

  1. Automatic Footnotes Insert and position footnotes with float: footnote
    Sample.cookbook footnotes
  2. Widow & Orphan Control Minimum lines before or after page and column breaks
    Sample.cookbook orphan
  3. Text Substitution As easy as prince-text-replace: "'" "’";
    Sample.cookbook substitution
  4. Automatic Page References Add page and chapter counts to links, like [see Page 19]
    Sample.cookbook references

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!

Sample.ebook@2x
1
3
  1. Table of Contents Dynamic and linked.
    Sample.ebook toc
  2. Internal Links Link to any place in your document.
    Sample.ebook links
  3. Watermarking On some pages or on every page.
    Sample.ebook watermark
  4. Document Security Passwords, encryption, metadata.
    Sample.ebook security