With Export, I am generating pdf files with pdf version 1.5. Is there a way to generate them with pdf version 1.4 instead?

  • 2
    $\begingroup$ There is a file "\SystemFiles\Converters\Binaries\Windows-x86-64\PDF.exe" that be used from PDF creation. Possibly replacing this file with one from an older installation may work. Remember to make back-ups if you try this! $\endgroup$
    – Mr.Wizard
    Sep 18, 2014 at 10:39

1 Answer 1


AFAIK, the only documented options to Export pdf files are "ImageSize", "ImageResolution" and "AllowRasterization", so my answer would be no, natively. Mathematica graphics

You could down-convert the Mathematica pdf file using Ghostscript (I haven't tried that myself)

Run["gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -dCompatibilityLevel=1.4 -sOutputFile=output.pdf input.pdf"]

There is currently an open case "CASE:1570212" about metadata in pdf export, and I hope they will work on other Export options too. You could write to [email protected] requesting that feature.

  • 1
    $\begingroup$ Your linux command works. It is a tremendous help. Thanks. $\endgroup$
    – dantopa
    May 26, 2015 at 19:03
  • 1
    $\begingroup$ @rhermans Your gs command created huge files for me (pdf 1.5 was at 75K, pdf1.4 after conversion was at 1.9M). Luckily, I didn't use any features new to Mathematica 10, so I could just recreate the plots in Mathematica 9, which exports to pdf 1.4. Is it possible to alter the gs command such that the size of the file stays small? $\endgroup$
    – Neuneck
    Jun 5, 2015 at 8:32
  • $\begingroup$ @Neuneck, no idea, I copied theis from old notes without much context. $\endgroup$
    – rhermans
    Jun 5, 2015 at 10:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.