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 extension ".dsc".
The DSC document uses Ghostscript-specific procedures. In addition, the original PDF document must be accessible when the DSC document is processed.
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.53.3.
Yves Arrouye <email@example.com> and Russell Lang gsview at ghostgum.com.au