extractres - Man Page

extract resources from a PostScript document

Synopsis

extractres [OPTION...] [INFILE [OUTFILE]]

Description

Extract resources from a PostScript document.

-m,  --merge

merge resources of the same name into one file (needed e.g. for fonts output in multiple blocks)

--help

display this help and exit

--version

display version information and exit

Extractres extracts resources (fonts, procsets, patterns, files, etc) appearing in a PostScript document, and puts appropriate %%IncludeResource comments in the document prologue. The extracted resources are written to files with the same name as the resource, and an appropriate extension. The pipeline

extractres file.ps | includeres >out.ps

will move all resources appearing in a document to the document prologue, removing redundant copies. The output file can then be put through page re-arrangement filters such as psnup or pstops safely.

Exit status

0

if OK,

1

if arguments or options are incorrect, or there is some other problem starting up,

2

if there is some problem during processing, typically an error reading or writing an input or output file.

Author

Written by Angus J. C. Duggan and Reuben Thomas.

Bugs

extractres does not alter the %%DocumentSuppliedResources comments.

Trademarks

PostScript is a trademark of Adobe Systems Incorporated.

See Also

psutils(1), paper(1)

Referenced By

psutils(1), tl-psutils(1).

November 2020 extractres 2.04