#/bin/sh
ps2pdf -sPAPERSIZE=a4 \
-dMaxSubsetPct=100 -dCompatibilityLevel=1.3 \
-dSubsetFonts=true -dEmbedAllFonts=true \
-dAutoFilterColorImages=false \
-dAutoFilterGrayImages=false \
-dColorImageFilter=/FlateEncode \
-dGrayImageFilter=/FlateEncode \
-dMonoImageFilter=/FlateEncode \
"$1" "$1.pdf"
Source : http://techdir.rutgers.edu/pdf.html, http://blog.konradvoelkel.de/2010/01/how-to-manage-the-papers-metadata/. The author of the last blog also have a nice post about how to OCR documents in Linux.
No comments:
Post a Comment