/ Published in: LaTeX
By default ps2pdf re-encodes images, which usually reduces their quality. The commandline below prevents that. It also embeds fonts into the PDF, making it more portable. Substitute -sPAPERSIZE=letter if you are American.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ps2pdf -sPAPERSIZE=a4 -dCompatibilityLevel=1.3 \ -dEmbedAllFonts=true -dSubsetFonts=true -dMaxSubsetPct=100 \ -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode \ -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode \ -dAutoFilterMonoImages=false -dMonoImageFilter=/CCITTFaxEncode \ document.ps document.pdf
URL: http://www.volkerschatz.com/tex/hiqpdf.html