You are here: Hello world / Howto / Printed Documentation Hints   Useful hints for creation of printed documentation.

Printed Documentation Hints

On this page, I've collected a few hints, which I had to search for quite a long time.

Postscript to PDF

If you use ps2pdf to convert postscript files to pdf documents, bitmap graphics quality will most probably suffer, if you do not use special arguments.

Use the following arguments to preserve quality of bitmap graphics:

$ ps2pdf -sPAPERSIZE=a4 \
-dMaxSubsetPct=100 -dCompatibilityLevel=1.2 \
-dSubsetFonts=true -dEmbedAllFonts=true \
-dAutoFilterColorImages=false \
-dAutoFilterGrayImages=false \
-dColorImageFilter=/FlateEncode \
-dGrayImageFilter=/FlateEncode \
-dModoImageFilter=/FlateEncode \
inputfile.ps outputfile.pdf

Author: Tobias Jahn
Public key fingerprint: 0556 B7D8 93FB 0304 B868 9FBA 3A71 E4F9 AE03 4AAD
Last modification of this page: 2003-04-18 16:08 GMT
Last generation of this page: 2007-06-16 20:26 GMT
Valid HTML 4.0!