Skip to content

Instantly share code, notes, and snippets.

@lfelia
Created May 3, 2018 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfelia/9833186ecd4f5d8b13c97a235c7bf900 to your computer and use it in GitHub Desktop.
Save lfelia/9833186ecd4f5d8b13c97a235c7bf900 to your computer and use it in GitHub Desktop.
Command to create a PDF/A from a regular PDF
# command to create a pdf/a using ghostscript.
# Pdf should be pdf 1.4 to start
gs -dPDFA -dBATCH -dNOPAUSE -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -sPDFACompatibilityPolicy=1 -sOutputFile=output.pdf input.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment