Prince is a commercial HTML-to-PDF application and an integral part of DocRaptor's PDF conversion process. Our API seamlessly combines Prince with our JavaScript preprocessing engine and advanced debugging tools.
We chose Prince because it provides more features and generates higher-quality PDFs than any other library we tried. YesLogic, Prince's creator, pioneered CSS and HTML-based publishing technology with the first release of PrinceXML in 2003 and has been leading the category ever since.
Håkon Wium Lie, the inventor of CSS and CTO of Opera, serves as Chairman of YesLogic. Håkon also wrote the first CSS Paged Media W3C specifications which enable much of Prince and DocRaptor’s unique HTML-to-PDF functionality.
Additionally, Prince has expanded beyond standard CSS and JavaScript to create PDF-specific JavaScript methods for accessing page numbers, creating PDF actions, defining metadata, adding post-rendering callbacks, and much more.
Prince distributions are available on Windows, Linux, and Mac, with wrappers for ActiveX, C#, Java, NodeJS, PHP, and Ruby on Rails.
Prince is free for non-commercial and trial use, but there is a Prince logo on the corner of the first page. An unwatermarked commercial service license starts at $2,500/year, including support and upgrades.
With our API-based service, DocRaptor provides two key differences from Prince:
Conversely, using Prince directly has several advantages over DocRaptor:
If you'd prefer to do more research, we have a list of PrinceXML alternatives, but we really think Prince is the best!
We currently support Prince 11.4, Prince 12.5, Prince 13.5, Prince 14.1, Prince 14.3, Prince 15, and Prince 15.1. We quickly add new versions of Prince whenever they are released. Our Pipeline versioning lets you test new Prince versions without affecting your existing generation process.
Try DocRaptor for free with unlimited test documents.