GS Error : Can't use Object streams before PDF 1.5, ignoring WriteObjStms directive

180 Views Asked by At

I am trying to compress my pdf files dates back to 2010 using GhostScript on Windows 10 E machine via CLI/CMD line as below,

gswin64c -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFSETTINGS=/screen -dEmbedAllFonts=true -dSubsetFonts=true -dColorImageDownsampleType=/Bicubic -dColorImageResolution=144 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=144 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=144 -sOutputFile=${1%.*}.compressed.pdf BOOK1.pdf

But unfornately I am getting following errors with it. What could be the reason? COuld you please help?

GPL Ghostscript 10.03.0: Can't use an XRef stream before PDF 1.5, ignoring WriteXRefStm directive
**** Unable to open the initial device, quitting.```
 
0

There are 0 best solutions below