pstopdf

From Mac Guides

Jump to: navigation, search

pstopdf is a Terminal command used to convert PostScript input into a PDF document.

Examples

The following example creates a file named "MyFile.pdf" from the PostScript data in the file "MyFile.ps".

 pstopdf MyFile.ps

The following example creates a PDF file of the manual page of the Terminal command pstopdf on the Desktop of the current user.

 man -t pstopdf | pstopdf -i -o ~/Desktop/pstopdf_manual.pdf