How to use PStill on the command lineThis document refers to PStill version 1.72 and better but its general content may be useful also for earlier releases, however their option set may be more limited.For the impatient: pstill -M default -o output.pdf input should work for most users. '-M default' is a meta options for a basic setup with page size take over and compression.
'PStill', 'pstill' and 'GPStill' - what is the difference? 'PStill' is the name for the general software and engine, 'pstill' is the name of the command line converter module, while 'GPStill' is the name of the GUI PStill version available currently for Windows systems. This document handles the use of 'pstill', the command line program. For GPStill see 'PStill_Guide.pdf' as part of the PStill/Win distribution. Is there a difference in usage of 'pstill' on Windows, Linux and other *NIX OS? No, all versions accept the very same set of options. How can I get a list of options? Run pstill -H, since the option list may be long you can also pipe it into a file, e.g. pstill -H | more or pstill -H > options.txt and open this file with an editor of your choice. Note: Options are case sensitive! E.g. -m is different to -M ! Are there limitations for unlicensed versions? Since the Linux and *NIX versions are free (as free beer) for personal and edu use no restrictions except a one second pause and a console message upon startup applies for them. The Windows command line version however needs licensing, otherwise it will place a visual mark on its output and a long pause of 15 seconds is in effect before a conversion is started. Can I run several pstill processes in parallel on the same machine? Yes, as long you give each PStill a unique temporary directory using option -T path, otherwise the processes may interfere. Also keep in mind that PStill is licensed by running 'instance', so you may need more licenses or a special 'parallel' license for this kind of use in a commercial environment.
PStill needs installation, usually it is just a matter of supplying the base fonts and make them known to PStill. However this step is really important, if you omit it or use bad fonts here the results may be not what you expect. On UNIX systems read 'INSTALL' (contained in the PStill distribution) before using PStill on your data, on Windows first run GPStill and let it generate a base font set. If you look for base fonts see also http://www.pstill.com in section 'Other PStill and PDF related information' and the PStill FAQ.
Office use is defined by relative low requirements for the resulting PDF in terms of color space accuracy and placement. The main goal here is to provide 'screen' and 'laser printer' accurate output creating small files. To convert a file to PDF use this option set: pstill -F a4 -2 -c -c -c -c -g -i -p -t -v -J 75 -C -K -o outputfile.pdf inputfile Options in detail:
Attention: If your input contains screenshots or other 'artificial' images, using JPEG (option '-J #') may make the results actually larger in size than necessary! This is not a limitation of PStill but of the the gerneral method and you should not use -J # for such files.
Prepress use is defined by the higher placement accuracy of the output and needs usually CMYK/spotcolors colorspace. pstill -F a4 -2 -c -c -c -c -g -i -t -K -d 700 -a 4 -m XimgAsCMYK -m Xspot -m Xoverprint -o outputfile.pdf input
In general PStill allows to define several input files, also in a mixed format of PS, EPS, PDF, TIFF and JPEG. PStill process them in sequence and concat their results in the output. Option -K should be used whenever you plan to reprocess the resulting PDFs, e.g. concat them in other tools or submit them to third parties. This way PStill emits more font encoding imformation to the PDF.
|