Unix How to compress a PDF file on MacOSX (& Linux) Often (and especially when scanning documents with my printer) from MacOSX I would get unreasonable huge PDFs which are not suitable for emails. To strip them down without pain one can use ghostprint: