1EXTRACTRES(1) User Commands EXTRACTRES(1)
2
3
4
6 extractres - extract resources from a PostScript document
7
9 extractres [OPTION...] [INFILE [OUTFILE]]
10
12 Extract resources from a PostScript document.
13
14 -m, --merge
15 merge resources of the same name into one file (needed e.g. for
16 fonts output in multiple blocks)
17
18 --help display this help and exit
19
20 --version
21 display version information and exit
22
23 Extractres extracts resources (fonts, procsets, patterns, files, etc)
24 appearing in a PostScript document, and puts appropriate %%IncludeRe‐
25 source comments in the document prologue. The extracted resources are
26 written to files with the same name as the resource, and an appropriate
27 extension. The pipeline
28
29 extractres file.ps | includeres >out.ps
30
31 will move all resources appearing in a document to the document pro‐
32 logue, removing redundant copies. The output file can then be put
33 through page re-arrangement filters such as psnup or pstops safely.
34
35
36 Exit status:
37 0 if OK,
38
39 1 if arguments or options are incorrect, or there is some other
40 problem starting up,
41
42 2 if there is some problem during processing, typically an error
43 reading or writing an input or output file.
44
46 Written by Angus J. C. Duggan and Reuben Thomas.
47
49 extractres does not alter the %%DocumentSuppliedResources comments.
50
52 Copyright © Reuben Thomas 2012-2019.
53 Copyright © Angus J. C. Duggan 1991-1997.
54
56 PostScript is a trademark of Adobe Systems Incorporated.
57
59 psutils(1), paper(1)
60
61
62
63extractres 2.07 October 2021 EXTRACTRES(1)