ps2eps --version (return code: 0)
ps2eps - convert PostScript to EPS (Encapsulated PostScript) files
(C)opyright 1998-2009 Roland Bless
Version: 1.68
ps2eps --help (return code: 0)
ps2eps - convert PostScript to EPS (Encapsulated PostScript) files
(C)opyright 1998-2009 Roland Bless
Version: 1.68
Operation:
Without any argument, ps2eps reads from standard input
and writes to standard output.
If filenames are given as arguments they are processed
one by one and output files are written to filenames
with extension '.eps'. If input filenames have the extension
'.ps' or '.prn', this extension is replaced with '.eps'.
In all other cases '.eps' is appended to the input filename.
Please note that PostScript files for input should contain
only one single page.
If BoundingBox in output seems to be wrong, please try options --size or --ignoreBB.
Syntax:
ps2eps [-f] [-q] [-N] [-O] [-n] [-P] [-c] [-b] [-C] [-m] [-B] [-E] [-s <pagedim>] [-R +|-|^] [-t <x,y>] [-l] [-g] [-d] [-H] [-h|--help] [-g] [-a] [-W] [-L] [-V|--version] [--] [psfile1] [psfile2] [...]
Options:
-f, --force force overwriting existing files
-q, --quiet quiet operation (no output while processing files)
-N, --noinsert do not insert any postscript code
-O, --preserveorientation do not filter Orientation: header comment
-n, --nofix do not try to fix postscript code
-P, --removepreview remove preview image (smaller file, but no preview)
-F, --fixps fix postscript code unconditionally
-c, --comments preserve document structure comments
-b, --binary treat postscript as binary, do not modify characters
-C, --clip insert postscript code for clipping
-m, --mono use black/white bitmap as base for calculation
-s, --size=<pagedim> page size (a0-a10,letter,...) or in format XxY[cm|in] (default:cm), where X and Y are numbers
use --size=list to list pre-defined page sizes
-R, --rotate=<direction> rotate resulting EPS. <direction>: +=+90 (clockw.),-=-90 (counter-clockw.) ^=180 degrees
-t, --translate specify x,y offset (may be negative) in postscript points (1/72 dpi)
-r, --resolution specify dpi resolution to render with ghostscript (default 144)
-l, --loose expand the original bounding box by one point in each direction
-B, --ignoreBB do not use existing bounding box as page size for rendering
-E, --ignoreEOF do not use %%EOF as hint for end of file
-g, --gsbbox use internal bbox device of ghostscript
-H, --no-hires do not use a HiResBoundingBox
-h, --help help information
-L, --license show licensing information
-V, --version show version information
-d, --debuggs show ghostscript call
-a, --accuracy improve accuracy during rendering (maybe slower)
-W, --warnings show warnings about sanity of generated eps file
-- all following arguments are treated as files
(allows filenames starting with -)
Arguments:
One or more names of PostScript files for input
Author: Roland Bless (roland@bless.de)