I'm using php to convert webpages into pdf form; the resulting product will then be downloaded by the user. Are there any tools/techniques/scripts that can be used via php to take the file and make it smaller before download? I did some googling and there didn't seem to be anything that really jumped out at me.

Thank you for your ideas,