GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
pdftops(1) FreeBSD General Commands Manual pdftops(1)

pdftops - Portable Document Format (PDF) to PostScript converter (version 3.04)

pdftops [options] [PDF-file [PS-file]]

Pdftops converts Portable Document Format (PDF) files to PostScript so they can be printed.

Pdftops reads the PDF file, PDF-file, and writes a PostScript file, PS-file. If PS-file is not specified, pdftops converts file.pdf to file.ps (or file.eps with the -eps option). If PS-file is ´-', the PostScript is sent to stdout.

Pdftops reads a configuration file at startup. It first tries to find the user's private config file, ~/.xpdfrc. If that doesn't exist, it looks for a system-wide config file, typically /usr/local/etc/xpdfrc (but this location can be changed when pdftops is built). See the xpdfrc(5) man page for details.

Many of the following options can be set with configuration file commands. These are listed in square brackets with the description of the corresponding command line option.

Specifies the first page to print.
Specifies the last page to print.
Generate Level 1 PostScript. The resulting PostScript files will be significantly larger (if they contain images), but will print on Level 1 printers. This also converts all images to black and white. No more than one of the PostScript level options (-level1, -level1sep, -level2, -level2sep, -level3, -level3Sep) may be given. [config file: psLevel]
Generate Level 1 separable PostScript. All colors are converted to CMYK. Images are written with separate stream data for the four components. [config file: psLevel]
Generate Level 2 PostScript. Level 2 supports color images and image compression. This is the default setting. [config file: psLevel]
Generate Level 2 separable PostScript. All colors are converted to CMYK. The PostScript separation convention operators are used to handle custom (spot) colors. [config file: psLevel]
Generate Level 3 PostScript. This enables all Level 2 features plus CID font embedding and masked image generation. [config file: psLevel]
Generate Level 3 separable PostScript. The separation handling is the same as for -level2Sep. [config file: psLevel]
Generate an Encapsulated PostScript (EPS) file. An EPS file contains a single image, so if you use this option with a multi-page PDF file, you must use -f and -l to specify a single page. No more than one of the mode options (-eps, -form) may be given.
Generate a PostScript form which can be imported by software that understands forms. A form contains a single page, so if you use this option with a multi-page PDF file, you must use -f and -l to specify a single page. The -level1 option cannot be used with -form.
Generate OPI comments for all images and forms which have OPI information. (This option is only available if pdftops was compiled with OPI support.) [config file: psOPI]
By default, any Type 1 fonts which are embedded in the PDF file are copied into the PostScript file. This option causes pdftops to substitute base fonts instead. Embedded fonts make PostScript files larger, but may be necessary for readable output. [config file: psEmbedType1Fonts]
By default, any TrueType fonts which are embedded in the PDF file are copied into the PostScript file. This option causes pdftops to substitute base fonts instead. Embedded fonts make PostScript files larger, but may be necessary for readable output. Also, some PostScript interpreters do not have TrueType rasterizers. [config file: psEmbedTrueTypeFonts]
By default, any CID PostScript fonts which are embedded in the PDF file are copied into the PostScript file. This option disables that embedding. No attempt is made to substitute for non-embedded CID PostScript fonts. [config file: psEmbedCIDPostScriptFonts]
By default, any CID TrueType fonts which are embedded in the PDF file are copied into the PostScript file. This option disables that embedding. No attempt is made to substitute for non-embedded CID TrueType fonts. [config file: psEmbedCIDTrueTypeFonts]
Convert PDF forms to PS procedures, and preload image data. This uses more memory in the PostScript interpreter, but generates significantly smaller PS files in situations where, e.g., the same image is drawn on every page of a long document.
Set the paper size to one of "letter", "legal", "A4", or "A3". This can also be set to "match", which will set the paper size to match the size specified in the PDF file. [config file: psPaperSize]
Set the paper width, in points. [config file: psPaperSize]
Set the paper height, in points. [config file: psPaperSize]
By default, output is cropped to the CropBox specified in the PDF file. This option disables cropping. [config file: psCrop]
Expand PDF pages smaller than the paper to fill the paper. By default, these pages are not scaled. [config file: psExpandSmaller]
Don't scale PDF pages which are larger than the paper. By default, pages larger than the paper are shrunk to fit. [config file: psShrinkLarger]
By default, PDF pages smaller than the paper (after any scaling) are centered on the paper. This option causes them to be aligned to the lower-left corner of the paper instead. [config file: psCenter]
Treat the CropBox as the PDF page size. By default, the MediaBox is used as the page size. [config file: psUseCropBoxAsPage]
Set the Duplex pagedevice entry in the PostScript file. This tells duplex-capable printers to enable duplexing. [config file: psDuplex]
Specify the owner password for the PDF file. Providing this will bypass all security restrictions.
Specify the user password for the PDF file.
Don't print any messages or errors. [config file: errQuiet]
Read config-file in place of ~/.xpdfrc or the system-wide config file.
Print copyright and version information.
Print usage information. (-help and --help are equivalent.)

The Xpdf tools use the following exit codes:

0
No error.
1
Error opening a PDF file.
2
Error opening an output file.
3
Error related to PDF permissions.
99
Other error.

The pdftops software and documentation are copyright 1996-2014 Glyph & Cog, LLC.

xpdf(1), pdftotext(1), pdftohtml(1), pdfinfo(1), pdffonts(1), pdfdetach(1), pdftoppm(1), pdftopng(1), pdfimages(1), xpdfrc(5)
http://www.foolabs.com/xpdf/

28 May 2014

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.