Section: Ghostscript Tools (1)
Updated: 30 August 2013
Return to Main Contents
pdf2dsc - generate a PostScript page list of a PDF document
pdf2dsc input.pdf [ output.dsc ]
pdf2dsc uses gs(1) to read an Adobe Portable Document
Format (PDF) document "input.pdf" and create a PostScript(tm)
document "output.dsc" that conforms to Adobe's Document Structuring
Conventions (DSC) requirements.
This new document simply tells Ghostscript to read the PDF file and to
display pages one at a time. The generated document can then be viewed
with any PostScript viewer based on Ghostscript, like ghostview(1) on
Unix or GSview on Windows, with which the user can browse through the
pages of the PDF document in any order.
If no output file is named on the command line, the name of the output file
is that of the input file with any extension removed, followed by the
The DSC document uses Ghostscript-specific procedures. In addition, the
original PDF document must be accessible when the DSC document is
You need the file "pdf2dsc.ps" (originally by Russell Lang) supplied with
Ghostscript since release 3.53.
This document was last revised for Ghostscript version 9.10.
Yves Arrouye <email@example.com> and Russell Lang gsview at ghostgum.com.au
- SEE ALSO
This document was created by
using the manual pages.
Time: 03:20:51 GMT, January 20, 2018