Debian Codegraph @

upstream/debian-unstable/man1/ps2pdf.1

raw
1 .TH PS2PDF 1 "18 Sept 2024" 10.04.0 Ghostscript \" -*- nroff -*-
2 .SH NAME
3 ps2pdf \- Convert PostScript to PDF using ghostscript
4 .br
5 ps2pdf12 \- Convert PostScript to PDF\ 1.2 (Acrobat\ 3-and-later compatible)
6 using ghostscript
7 .br
8 ps2pdf13 \- Convert PostScript to PDF\ 1.3 (Acrobat\ 4-and-later compatible)
9 using ghostscript
10 .br
11 ps2pdf14 \- Convert PostScript to PDF\ 1.4 (Acrobat\ 5-and-later compatible)
12 using ghostscript
13 .SH SYNOPSIS
14 \fBps2pdf\fR [options...] {input.[e]ps|\-} [output.pdf|\-]
15 .br
16 \fBps2pdf12\fR [options...] {input.[e]ps|\-} [output.pdf|\-]
17 .br
18 \fBps2pdf13\fR [options...] {input.[e]ps|\-} [output.pdf|\-]
19 .br
20 \fBps2pdf14\fR [options...] {input.[e]ps|\-} [output.pdf|\-]
21 .SH DESCRIPTION
22 The
23 .B ps2pdf
24 scripts are work-alikes for nearly all the functionality (but not the
25 user interface) of Adobe's Acrobat(TM) Distiller(TM) product: they
26 convert PostScript files to Portable Document Format (PDF) files.
27 .PP
28 If the output filename is not specified, the output is placed in a file
29 of the same name with a '.pdf' extension in the current working
30 directory.
31 Either the input filename or the output filename can be '\-'
32 to request reading from stdin or writing to stdout, respectively,
33 when used as a filter.
34 .PP
35 The three scripts differ as follows:
36 .IP \(en
37 .B ps2pdf12
38 will always produce PDF 1.2 output (Acrobat 3-and-later compatible).
39 .IP \(en
40 .B ps2pdf13
41 will always produce PDF 1.3 output (Acrobat 4-and-later compatible).
42 .IP \(en
43 .B ps2pdf14
44 will always produce PDF 1.4 output (Acrobat 5-and-later compatible).
45 .IP \(en
46 .B ps2pdf
47 per se currently produces PDF 1.4 output.
48 However, this may change in the future.
49 If you care about the compatibility level of the output,
50 use
51 .BR ps2pdf12 ,
52 .B ps2pdf13
53 or
54 .BR ps2pdf14 ,
55 or use the
56 .B \-dCompatibilityLevel=1.x
57 switch in the command line.
58 .PP
59 There are some limitations in
60 .BR ps2pdf 's
61 conversion.
62 See the HTML documentation for more information.
63 A large number of Adobe Distiller(TM) parameters
64 which can be used to control the conversion
65 are also documented there,
66 including instructions for generating PDF/X and PDF/A documents.
67 .SH OPTIONS
68 The
69 .B ps2pdf
70 scripts use the same options as \fBgs\fR(1).
71 .SH EXAMPLES
72 Converting a figure.ps to figure.pdf:
73 .IP
74 .B ps2pdf
75 .I figure.ps
76 .LP
77 A conversion with more specifics:
78 .IP
79 .B ps2pdf
80 \-dPDFSETTINGS=/prepress
81 .I figure.ps proof.pdf
82 .LP
83 Converting as part of a pipe:
84 .IP
85 .B make_report.pl
86 \-t ps |
87 .B ps2pdf
88 \-dCompatibilityLevel=1.3 \- \- |
89 .B lpr
90 .SH SEE ALSO
91 \fBgs\fR(1), \fBps2pdfwr\fR(1),
92 .br
93 VectorDevices.htm in the Ghostscript documentation
94 .SH BUGS
95 See http://bugs.ghostscript.com/ and the Usenet news group
96 comp.lang.postscript.
97 .SH VERSION
98 This document was last revised for Ghostscript version 10.04.0.
99 .SH AUTHOR
100 Artifex Software, Inc.\& are the
101 primary maintainers of Ghostscript.
102 This manpage by George Ferguson.