On 2017-12-21 10:32, Paul Newton wrote:
Hi all
The subject explains what I need to be able to do within a running VFP application - any suggestions (preferably free or cheap :)). I apologise in advance if this should have been marked [NF] but I thought not
Ghostscript can do it:
for a modest amount of compression : gswin32c.exe -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dBATCH -sOutputFile=<<outfile>> <<infile>>
for more compression: gswin32c.exe -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dBATCH -sOutputFile=<<outfile>> <<infile>>
hth
dt