>  pdf ->  pdftops ->ps ->ghostscript ->pdf
>  seems to be more robust and gives better results
>  -- 
>  luigi

I will give it a try:
Can you tell me the commands with all the parameters I need ?


I have tried the following:

#!/bin/sh
suffix="_opt.pdf"
pdftops -paper match -level3 $1.pdf tmp.ps
gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -dColorConversionStrategy=/LeaveColorUnchanged -dBATCH -dNOPAUSE -sOutputFile=$1.pdf$suffix tmp.ps
rm tmp.ps


But in some cases the PDF-files got bigger instead of smaller.


Regards
Jannis