Name

extractres - filter to extract resources from a PostScript document

Synopsis

extractres [ -m ] < document.ps > output.ps

Description

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.

The -m option combines the resources of the same name into one file; this must be used for some programs which download fonts a bit at a time.

Author

Copyright © Angus J. C. Duggan 1991-1995

See Also

epsffit, extractres, fixdlsrps, fixfmps, fixmacps, fixpsditps, fixpspps, fixscribeps, fixtpps, fixwfwps, fixwpps, fixwwps, getafm, includeres, psbook, psmerge, psnup, psresize, psselect, pstops

Trademarks

PostScript is a trademark of Adobe Systems Incorporated.

Bugs

extractres does not alter the %%DocumentSuppliedResources comments.
[Home] [Up]
Last modified on 12th February 2004 by angus@harlequin.co.uk