PDF/X

DynamicPDF Core Suite for .NET can create PDF documents that are marked as PDF/X compatible. PDF/X is a subset of the PDF specification that eliminates many of the color, font, and trapping variables that are typically associated with exchanging files intended for high-end printing. These PDF/X standards make recommendations and additional notations for facilitating the reliable delivery of press-ready, high-end color documents.

The following steps must be followed in order to make a Document PDF/X compliant.

All of the above elements must be in place for full PDF/X compatibility. Be careful not to inadvertently use any RGB colors in the document (our product does not automatically check for this). This includes verifying that all images added or merged in PDF pages do not contain any RGB colors.

Lastly, you will need to verify that all fonts you use are embedded in the PDF. This means that all fonts used within your PDF document need to be either OpenTypeFont or Type1Font objects. The 14 core fonts do not get embedded into the PDF and therefore can not be used when creating PDF/X documents.

Note: Setting the PdfXVersion property on the Document property does not automatically convert the document to the PDF/X version specified. The document is only marked as complying to that version of PDF/X. Care must be taken as outlined above.

The following code sample demonstrates the elements needed to specify a document as PDF/X 1-A compatible:

Document document = new Document();
document.Title = "PDF/X-1a Document";
document.PdfVersion = PdfVersion.v1_4;
document.PdfXVersion = PdfXVersion.PDF_X_1a_2003;
document.Pages.Add(new Page());
IccProfile iccProfile = new IccProfile(@"C:\ICCProfiles\USWebCoatedSWOP.icc");
OutputIntent outputIntent = new OutputIntent("CGATS TR 001-1995 (SWOP)", "CGATS TR 001", "http://www.color.org", "U.S. Web Coated (SWOP) v2", iccProfile);
document.OutputIntents.Add(outputIntent);
document.Trapped = Trapped.False;
document.Draw(pdfFilePath);        
Dim document As Document = New Document()
document.Title = "PDF/X-1a Document"
document.PdfVersion = PdfVersion.v1_4
document.PdfXVersion = PdfXVersion.PDF_X_1a_2003
document.Pages.Add(New Page())
Dim MyIccProfile As IccProfile = New IccProfile("C:\ICCProfiles\USWebCoatedSWOP.icc")
Dim MyOutputIntent As OutputIntent = New OutputIntent("CGATS TR 001-1995 (SWOP)", "CGATS TR 001", "http://www.color.org", "U.S. Web Coated (SWOP) v2", MyIccProfile)
document.OutputIntents.Add(MyOutputIntent)
document.Trapped = Trapped.False
document.Draw(pdfFilePath)

In this topic