1PS2PDF(1) Ghostscript PS2PDF(1)
2
3
4
6 ps2pdf - Convert PostScript to PDF using ghostscript
7 ps2pdf12 - Convert PostScript to PDF 1.2 (Acrobat 3-and-later compati‐
8 ble) using ghostscript
9 ps2pdf13 - Convert PostScript to PDF 1.3 (Acrobat 4-and-later compati‐
10 ble) using ghostscript
11 ps2pdf14 - Convert PostScript to PDF 1.4 (Acrobat 5-and-later compati‐
12 ble) using ghostscript
13
15 ps2pdf [options...] {input.[e]ps|-} [output.pdf|-]
16 ps2pdf12 [options...] {input.[e]ps|-} [output.pdf|-]
17 ps2pdf13 [options...] {input.[e]ps|-} [output.pdf|-]
18 ps2pdf14 [options...] {input.[e]ps|-} [output.pdf|-]
19
21 The ps2pdf scripts are work-alikes for nearly all the functionality
22 (but not the user interface) of Adobe's Acrobat(TM) Distiller(TM) prod‐
23 uct: they convert PostScript files to Portable Document Format (PDF)
24 files.
25
26 If the output filename is not specified, the output is placed in a file
27 of the same name with a '.pdf' extension in the current working direc‐
28 tory. Either the input filename or the output filename can be '-' to
29 request reading from stdin or writing to stdout, respectively, when
30 used as a filter.
31
32 The three scripts differ as follows:
33
34 - ps2pdf12 will always produce PDF 1.2 output (Acrobat 3-and-later
35 compatible).
36
37 - ps2pdf13 will always produce PDF 1.3 output (Acrobat 4-and-later
38 compatible).
39
40 - ps2pdf14 will always produce PDF 1.4 output (Acrobat 5-and-later
41 compatible).
42
43 - ps2pdf per se currently produces PDF 1.4 output. However, this
44 may change in the future. If you care about the compatibility
45 level of the output, use ps2pdf12, ps2pdf13 or ps2pdf14, or use
46 the -dCompatibilityLevel=1.x switch in the command line.
47
48 There are some limitations in ps2pdf's conversion. See the HTML docu‐
49 mentation for more information. A large number of Adobe Distiller(TM)
50 parameters which can be used to control the conversion are also docu‐
51 mented there, including instructions for generating PDF/X and PDF/A
52 documents.
53
55 The ps2pdf scripts use the same options as gs(1).
56
58 Converting a figure.ps to figure.pdf:
59
60 ps2pdf figure.ps
61
62 A conversion with more specifics:
63
64 ps2pdf -dPDFSETTINGS=/prepress figure.ps proof.pdf
65
66 Converting as part of a pipe:
67
68 make_report.pl -t ps | ps2pdf -dCompatibilityLevel=1.3 - - | lpr
69
71 gs(1), ps2pdfwr(1),
72 VectorDevices.htm in the Ghostscript documentation
73
75 See http://bugs.ghostscript.com/ and the Usenet news group
76 comp.lang.postscript.
77
79 This document was last revised for Ghostscript version 9.56.1.
80
82 Artifex Software, Inc. are the primary maintainers of Ghostscript.
83 This manpage by George Ferguson.
84
85
86
879.56.1 4 April 2022 PS2PDF(1)