1 .\" Copyright 1996-2004 Glyph & Cog, LLC
2 .TH pdftops 1 "31 July 2009"
4 pdftops \- Portable Document Format (PDF) to PostScript converter
13 converts Portable Document Format (PDF) files to PostScript so they
16 Pdftops reads the PDF file,
18 and writes a PostScript file,
22 is not specified, pdftops converts
28 with the \-eps option). If
30 is \'-', the PostScript is sent to stdout.
34 Specifies the first page to print.
37 Specifies the last page to print.
40 Generate Level 1 PostScript. The resulting PostScript files will be
41 significantly larger (if they contain images), but will print on Level
42 1 printers. This also converts all images to black and white. No
43 more than one of the PostScript level options (\-level1, \-level1sep,
44 \-level2, \-level2sep, \-level3, \-level3Sep) may be given.
47 Generate Level 1 separable PostScript. All colors are converted to
48 CMYK. Images are written with separate stream data for the four
52 Generate Level 2 PostScript. Level 2 supports color images and image
53 compression. This is the default setting.
56 Generate Level 2 separable PostScript. All colors are converted to
57 CMYK. The PostScript separation convention operators are used to
58 handle custom (spot) colors.
61 Generate Level 3 PostScript. This enables all Level 2 features plus
65 Generate Level 3 separable PostScript. The separation handling is the
66 same as for \-level2Sep.
69 Generate a PostScript file with variable page sizes and orientations,
70 taking for each page the size of the original page in the PDF file.
71 The PostScript file contains "<</PageSize [WIDTH HEIGHT]>> setpagedevice"
72 lines in each page header, so that the paper input tray gets correctly
73 changed on the printer. This option should be used when pdftops is used
74 as a print filter. Any specification of the page size via \-paper,
75 \-paperw, or \-paperh will get overridden as long as each page of the
76 PDF file has a defined paper size. No more than one of the mode options
77 (\-origpagesizes, \-eps, \-form) may be given.
80 Generate an Encapsulated PostScript (EPS) file. An EPS file contains
81 a single image, so if you use this option with a multi-page PDF file,
82 you must use \-f and \-l to specify a single page. No more than one of
83 the mode options (\-origpagesizes, \-eps, \-form) may be given.
86 Generate a PostScript form which can be imported by software that
87 understands forms. A form contains a single page, so if you use this
88 option with a multi-page PDF file, you must use \-f and \-l to specify a
89 single page. The \-level1 option cannot be used with \-form. No more
90 than one of the mode options (\-origpagesizes, \-eps, \-form) may be
94 Generate OPI comments for all images and forms which have OPI
95 information. (This option is only available if pdftops was compiled
99 By default, any Type 1 fonts which are embedded in the PDF file are
100 copied into the PostScript file. This option causes pdftops to
101 substitute base fonts instead. Embedded fonts make PostScript files
102 larger, but may be necessary for readable output.
105 By default, any TrueType fonts which are embedded in the PDF file are
106 copied into the PostScript file. This option causes pdftops to
107 substitute base fonts instead. Embedded fonts make PostScript files
108 larger, but may be necessary for readable output. Also, some
109 PostScript interpreters do not have TrueType rasterizers.
112 By default, any CID PostScript fonts which are embedded in the PDF
113 file are copied into the PostScript file. This option disables that
114 embedding. No attempt is made to substitute for non-embedded CID
118 By default, any CID TrueType fonts which are embedded in the PDF file
119 are copied into the PostScript file. This option disables that
120 embedding. No attempt is made to substitute for non-embedded CID
124 By default, references to non-embedded 8-bit fonts in the PDF file are
125 substituted with the closest "Helvetica", "Times-Roman", or "Courier" font.
126 This option passes references to non-embedded fonts
127 through to the PostScript file.
130 preload images and forms
133 Set the paper size to one of "letter", "legal", "A4", or "A3". This
134 can also be set to "match", which will set the paper size to match the
135 size specified in the PDF file. \-origpagesizes overrides this setting
136 if the PDF file has defined page sizes.
139 Set the paper width, in points. \-origpagesizes overrides this setting
140 if the PDF file has defined page sizes.
143 Set the paper height, in points. \-origpagesizes overrides this setting
144 if the PDF file has defined page sizes.
147 By default, output is cropped to the CropBox specified in the PDF
148 file. This option disables cropping.
151 Expand PDF pages smaller than the paper to fill the paper. By
152 default, these pages are not scaled.
155 Don't scale PDF pages which are larger than the paper. By default,
156 pages larger than the paper are shrunk to fit.
159 By default, PDF pages smaller than the paper (after any scaling) are
160 centered on the paper. This option causes them to be aligned to the
161 lower-left corner of the paper instead.
164 Set the Duplex pagedevice entry in the PostScript file. This tells
165 duplex-capable printers to enable duplexing.
167 .BI \-opw " password"
168 Specify the owner password for the PDF file. Providing this will
169 bypass all security restrictions.
171 .BI \-upw " password"
172 Specify the user password for the PDF file.
175 Don't print any messages or errors.
178 Print copyright and version information.
181 Print usage information.
187 The Xpdf tools use the following exit codes:
193 Error opening a PDF file.
196 Error opening an output file.
199 Error related to PDF permissions.
204 The pdftops software and documentation are copyright 1996-2004 Glyph &