extractres - filter to extract resources from a PostScript document
extractres [ -m ] < document.ps > output.ps
EXTRACTRES(1) General Commands Manual EXTRACTRES(1)
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 %%IncludeRe-
source 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 pro-
logue, 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 (C) Angus J. C. Duggan 1991-1995
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+------------------+
|Availability | image/psutils |
+---------------+------------------+
|Stability | Volatile |
+---------------+------------------+
SEE ALSO
psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1),
psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1), fixfmps(1), fix-
macps(1), fixpsditps(1), fixpspps(1), fixtpps(1), fixwfwps(1), fixw-
pps(1), fixwwps(1), extractres(1), includeres(1)
TRADEMARKS
PostScript is a trademark of Adobe Systems Incorporated.
BUGS
extractres does not alter the %%DocumentSuppliedResources comments.
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://ftp.osuosl.org/pub/blfs/conglomera-
tion/psutils/psutils-p17.tar.gz.
Further information about this software can be found on the open source
community website at https://github.com/rrthomas/psutils.
PSUtils Release 1 Patchlevel 17
EXTRACTRES(1)