ghostscript only create PDF1.7 not PDF/A

I try to create a PDF/A file out of many PDF/A-Files in the folder pdf-files.

gs -dPDFA=2 -dBATCH -dNOPAUSE -q -sProcessColorModel=DeviceRGB -sDEVICE=pdfwrite -dPDFACompatibilityPolicy=1 -sOutputFile=Unsigned_Joined_Document.pdf ./pdf-files/*

But when I execute this, it gives me this error message and creates a PDF1.7 File.

GPL Ghostscript 9.50: UTF16BE text string detected in DOCINFO cannot be represented in XMP for PDF/A1, discarding DOCINFO
GPL Ghostscript 9.50: Setting Overprint Mode to 1
 not permitted in PDF/A-2, overprint mode not set

I tried various questions on stack overflow but to no avail.



Read more here: https://stackoverflow.com/questions/62831235/ghostscript-only-create-pdf1-7-not-pdf-a

Content Attribution

This content was originally published by Jocomol at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: