Meglesheted a ghostscriptet - a PDFSETTINGS-ben beállított presetet további opciókkal lehet finomhangolni:
gs -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -dCompatibilityLevel=1.5 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=compressed.pdf orig.pdf
Szerintem minden opciót értelmez, amit a ps2pdf: https://web.mit.edu/ghostscript/www/Ps2pdf.htm#Options