ps2pdf
TLDR
Convert PS to PDF
$ ps2pdf [input.ps] [output.pdf]
Convert with quality settings$ ps2pdf -dPDFSETTINGS=/prepress [input.ps] [output.pdf]
Convert for screen viewing$ ps2pdf -dPDFSETTINGS=/screen [input.ps] [output.pdf]
Convert EPS to PDF$ ps2pdf [input.eps] [output.pdf]
SYNOPSIS
ps2pdf [options] input.ps [output.pdf]
DESCRIPTION
ps2pdf converts PostScript files to PDF format using Ghostscript. It's a convenient wrapper around gs (Ghostscript) with PDF output options.
The tool is commonly used in document processing pipelines and print workflows.
PARAMETERS
-dPDFSETTINGS= setting
Quality preset:
- /screen: Low resolution
- /ebook: Medium resolution
- /printer: High resolution
- /prepress: Maximum resolution-dCompatibilityLevel= level
PDF version (1.3, 1.4, 1.5, etc.).-dEmbedAllFonts= bool
Embed all fonts.-dSubsetFonts= bool
Subset embedded fonts.-sPAPERSIZE= size
Paper size (a4, letter, etc.).
CAVEATS
Output quality depends on input. Font embedding may increase size. Some PS features may not convert. Ghostscript must be installed.
HISTORY
ps2pdf is part of Ghostscript, originally created by L. Peter Deutsch in 1988. Ghostscript provides PostScript and PDF interpretation, making ps2pdf a standard conversion tool.


