Section: Ghostscript Tools (1)
Updated: 19 March 2020
pdf2dsc - generate a PostScript page list of a PDF document
(1) to read an Adobe Portable Document
(PDF) document "input.pdf" and create a PostScript
document "output.dsc" that conforms to Adobe's Document Structuring
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.52.
Yves Arrouye <email@example.com
> and Russell Lang gsview at ghostgum.com.au