Conversion to PDF-A fails

Last update: 4 August 2017

Conversion to PDF-A fails

Symptoms

You may receive an error code 1 while converting a content object into a PDF/A object:

The command line conversion returns with error code: 1
  • You're using GPL Ghostscript as conversion tool.
  • Converting a Note object to PDF works properly.

Information

The ICC profile can't be found in your PDFA_def.ps file. (located e.g. in C:\Program Files\gs\gs\lib ) because you're using double quotes and single backslahes in the path:

/ICCProfile ("C:\Program Files\gs\gs\sRGB_IEC61966-2-1_no_black_scaling.icc")

The GPL Ghostscript Syntax does not allow the use of double quotes in the file path. Furthermore you have to use double backslahes (for Microsoft Windows).

Solution

Your ICC profile path should look like these (either one depending on your syntax - please also ensure the correct usage or the parenthesis):

/ICCProfile (C:\\Program Files\\gs\\gs\\sRGB_IEC61966-2-1_no_black_scaling.icc)
/ICCProfile (C:/Program Files/gs/gs/sRGB_IEC61966-2-1_no_black_scaling.icc)

Applies To

All conversion servers using GPL Ghostscript.

Further questions?