Good overview page: http://www.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm

CMYK: ps2pdf -dProcessColorModel=/DeviceCMYK

There are some presets to consider which adjust the right amount of compression for various mediums:

-dCompressFonts=boolean Defines whether ps2pdf will compress embedded fonts in the output. The default value is true; the false setting is intended only for debugging.

-dPDFSETTINGS=configuration Presets the "distiller parameters" to one of four predefined settings:

  • /screen selects low-resolution output similar to the Acrobat Distiller "Screen Optimized" setting.
  • /ebook selects medium-resolution output similar to the Acrobat Distiller "eBook" setting.
  • /printer selects output similar to the Acrobat Distiller "Print Optimized" setting.
  • /prepress selects output similar to Acrobat Distiller "Prepress Optimized" setting.
  • /default selects output intended to be useful across a wide variety of uses, possibly at the expense of a larger output file.

The best way to make a low file sized PDF is to print to postscript in Illustrator, then use this command to convert to PDF:

ps2pdf -dPDFSETTINGS=/screen -dProcessColorModel=/DeviceCMYK filename.ai.ps
Even more interesting, the quality (fonts, etc) of the Postscript file will depend on the Postscript driver you use! Use the Apple Color Laser driver.

HTMLDOC

/usr/local/bin/htmldoc --book --no-links --no-title --compression=8 --gray --header "..." --no-toc -v -f _final_output.pdf *.html/usr/local/bin/htmldoc --book --no-links --no-title --tocheader "..." --toclevels 1 --compression=8 --gray --header "..." --toctitle "ALL Journal" -v -f _final_output.pdf *.html