This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



pstopdf(1)                               BSD General Commands Manual                              pstopdf(1)

NAME
     pstopdf -- convert PostScript input into a PDF document.

SYNOPSIS
     pstopdf [inputfile] [-o outname] [-l] [-p] [-i]

DESCRIPTION
     pstopdf is a tool to convert PostScript input data into a PDF document. The input data may come from a
     file or may be read from stdin. The PDF document is always written to a file. The name of the output
     PDF file is derived from the name of the input file or may be explicitly named using the -o option.

     Flags:

     -o outname
             The name of the output file to create. If an explicit file name is not supplied, the output
             file will be created in the current directory and named foo.pdf for an input file named foo.ps

     -i      Reads from stdin rather than a named input file. If the output file is not explicitly named and
             the input data comes from stdin the named output file will be stdin.pdf

     -l      Specifies that any messages generated during file conversion be written to a log file. For an
             output file named foo.pdf the generated log file is foo.pdf.log rather than generated to std-out. stdout.
             out. If there are no messages, the log file is not generated.

     -p      Generates a simple progress message to stdout at the end of each page. Because conversion of
             complex or lengthy PostScript input can take time, it is sometimes useful to see that progress
             is being made. Progress messages are always written to stdout even when the -l (log file)
             option is specified.

EXAMPLES
     pstopdf inputfile.ps          Creates a PDF file named inputfile.pdf from the PostScript data in the
                                   input file inputfile.ps

     pstopdf -i -o outputfilename  Creates a PDF file named outputfilename from the PostScript data read
                                   from stdin.

Apple Computer, Inc.                            May 12, 2010                            Apple Computer, Inc.

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...