DocRaptor HTML TO PDF API

HTML to PDF Conversion: Creating CMYK PDF Documents

CMYK output can be achieved via several methods:

  1. DocRaptor supports CSS CMYK colors and CMYK images by default. If you use CMYK colors and images, we'll publish a print-ready document.

  2. The document will be converted to CMYK if you set prince_options[profile] to PDF/X-1a and define your output intent with CSS such as:

@prince-pdf {
  prince-pdf-output-intent: url("https://yoursite.com/ISOcoated_v2_eci.icc")
}

More details on DocRaptor's color management functionality are available on Prince's, our PDF engine partner, website.

Ready to get started? Try DocRaptor for free with unlimited test documents.