man-pages/man1/ps2pdf.1.html
2021-03-31 01:06:50 +01:00

183 lines
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of PS2PDF</TITLE>
</HEAD><BODY>
<H1>PS2PDF</H1>
Section: Ghostscript (1)<BR>Updated: 15 October 2019<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ps2pdf - Convert PostScript to PDF using ghostscript
<BR>
ps2pdf12 - Convert PostScript to PDF&nbsp;1.2 (Acrobat&nbsp;3-and-later compatible) using ghostscript
<BR>
ps2pdf13 - Convert PostScript to PDF&nbsp;1.3 (Acrobat&nbsp;4-and-later compatible) using ghostscript
<BR>
ps2pdf14 - Convert PostScript to PDF&nbsp;1.4 (Acrobat&nbsp;5-and-later compatible) using ghostscript
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>ps2pdf</B> [options...] {input.[e]ps|-} [output.pdf|-]
<BR>
<B>ps2pdf12</B> [options...] {input.[e]ps|-} [output.pdf|-]
<BR>
<B>ps2pdf13</B> [options...] {input.[e]ps|-} [output.pdf|-]
<BR>
<B>ps2pdf14</B> [options...] {input.[e]ps|-} [output.pdf|-]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The
<B>ps2pdf</B>
scripts are work-alikes for nearly all the functionality (but not the
user interface) of Adobe's Acrobat(TM) Distiller(TM) product: they
convert PostScript files to Portable Document Format (PDF) files.
<P>
If the output filename is not specified, the output is placed in a file
of the same name with a '.pdf' extension in the current working
directory. Either the input filename or the output filename can be '-'
to request reading from stdin or writing to stdout, respectively,
when used as a filter.
<P>
The three scripts differ as follows:
<DL COMPACT>
<DT id="1">-<DD>
<B>ps2pdf12</B>
will always produce PDF 1.2 output (Acrobat 3-and-later compatible).
<DT id="2">-<DD>
<B>ps2pdf13</B>
will always produce PDF 1.3 output (Acrobat 4-and-later compatible).
<DT id="3">-<DD>
<B>ps2pdf14</B>
will always produce PDF 1.4 output (Acrobat 5-and-later compatible).
<DT id="4">-<DD>
<B>ps2pdf</B>
per se currently produces PDF 1.4 output.
However, this may change in the future. If you care about
the compatibility level of the output, use
<B>ps2pdf12</B>,
<B>ps2pdf13</B>
or
<B>ps2pdf14</B>,
or use the
<B>-dCompatibilityLevel=1.x</B>
switch in the command line.
</DL>
<P>
There are some limitations in
<B>ps2pdf</B>'s
conversion. See the HTML documentation for more information. A large
number of Adobe Distiller(TM) parameters which can be used to control
the conversion are also documented there, including instructions for
generating PDF/X and PDF/A documents.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
The
<B>ps2pdf</B>
scripts use the same options as <A HREF="/cgi-bin/man/man2html?1+gs">gs</A>(1).
<A NAME="lbAF">&nbsp;</A>
<H2>EXAMPLES</H2>
<P>
Converting a figure.ps to figure.pdf:
<DL COMPACT>
<DT id="5"><DD>
<B>ps2pdf</B>
<I>figure.ps</I>
</DL>
<P>
A conversion with more specifics:
<DL COMPACT>
<DT id="6"><DD>
<B>ps2pdf</B>
-dPDFSETTINGS=/prepress
<I>figure.ps proof.pdf</I>
</DL>
<P>
Converting as part of a pipe:
<DL COMPACT>
<DT id="7"><DD>
<B>make_report.pl </B>
-t ps |
<B>ps2pdf</B>
-dCompatibilityLevel=1.3 - - |
<B>lpr</B>
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+gs">gs</A>(1), <A HREF="/cgi-bin/man/man2html?1+ps2pdfwr">ps2pdfwr</A>(1),
<BR>
Ps2pdf.htm in the Ghostscript documentation
<A NAME="lbAH">&nbsp;</A>
<H2>BUGS</H2>
See <A HREF="http://bugs.ghostscript.com/">http://bugs.ghostscript.com/</A> and the Usenet news group
comp.lang.postscript.
<A NAME="lbAI">&nbsp;</A>
<H2>VERSION</H2>
This document was last revised for Ghostscript version 9.50.
<A NAME="lbAJ">&nbsp;</A>
<H2>AUTHOR</H2>
Artifex Software, Inc. are the
primary maintainers of Ghostscript.
This manpage by George Ferguson.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="12"><A HREF="#lbAF">EXAMPLES</A><DD>
<DT id="13"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="14"><A HREF="#lbAH">BUGS</A><DD>
<DT id="15"><A HREF="#lbAI">VERSION</A><DD>
<DT id="16"><A HREF="#lbAJ">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:25 GMT, March 31, 2021
</BODY>
</HTML>