On 26.04.02 Torsten Werner (twerner@intercomm.de) wrote:
Am Donnerstag, dem 25. April 2002 um 19:43:47, schrieb Jens Lorenz:
Ghostscipt hat übrigens 'ne Unmenge an Optionen, auch für PDF.
Welche denn?
$ ps2pdf -help Usage: ps2pdfwr [options...] (input.[e]ps|-) [output.pdf|-]
Und keine man page, hmm.
bash-2.05a$ file $(which ps2pdf) /cygdrive/c/Programme/gs/gs7.03/lib/ps2pdf: Bourne shell script text executable bash-2.05a$ more /cygdrive/c/Programme/gs/gs7.03/lib/ps2pdf #!/bin/sh # $Id: ps2pdf,v 1.1 2000/03/09 08:40:40 lpd Exp $ # Convert PostScript to PDF.
# Currently, we produce PDF 1.2 by default, but this is not guaranteed # not to change in the future. exec ps2pdf12 "$@" bash-2.05a$ file $(which ps2pdf12) /cygdrive/c/Programme/gs/gs7.03/lib/ps2pdf12: Bourne shell script text executable bash-2.05a$ more /cygdrive/c/Programme/gs/gs7.03/lib/ps2pdf12 #!/bin/sh # $Id: ps2pdf12,v 1.1 2000/03/09 08:40:40 lpd Exp $ # Convert PostScript to PDF 1.2 (Acrobat 3-and-later compatible).
exec ps2pdfwr -dCompatibilityLevel=1.2 "$@" bash-2.05a$ file $(whoch ps2pdfwr) /cygdrive/c/Programme/gs/gs7.03/lib/ps2pdfwr: Bourne shell script text executabe bash-2.05a$ more /cygdrive/c/Programme/gs/gs7.03/lib/ps2pdfwr #!/bin/sh # $Id: ps2pdfwr,v 1.6 2001/06/22 16:09:22 lpd Exp $ # Convert PostScript to PDF without specifying CompatibilityLevel.
<Optionenbehandlung snipped>
# We have to include the options twice because -I only takes effect if it # appears before other options. exec gs $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile" bash-2.05a$
-> man gs
SCNR, H.