Debian Codegraph @

texk/psutils/psutils-src/extractres.1

raw
1 .TH EXTRACTRES 1 "PSUtils"
2 .SH NAME
3 extractres \- filter to extract resources from a PostScript document
4 .SH SYNOPSIS
5 .B extractres
6 .RB [ \-m ]
7 .RI < document.ps
8 .RI > output.ps
9 .SH DESCRIPTION
10 .B Extractres
11 extracts resources (fonts, procsets, patterns, files, etc) appearing in a
12 PostScript document, and puts appropriate
13 .B %%IncludeResource
14 comments in the document prologue. The extracted resources are written to
15 files with the same name as the resource, and an appropriate extension. The
16 pipeline
17 .sp
18 .ce
19 extractres file.ps | includeres >out.ps
20 .sp
21 will move all resources appearing in a document to the document prologue,
22 removing redundant copies. The output file can then be put through page
23 re-arrangement filters such as
24 .B psnup
25 or
26 .B pstops
27 safely.
28 .PP
29 The
30 .B \-m
31 option combines the resources of the same name into one file; this must be
32 used for some programs which download fonts a bit at a time.
33 .SH AUTHOR
34 Written by Angus J. C. Duggan.
35 .SH "SEE ALSO"
36 .BR psutils (1)
37 .SH TRADEMARKS
38 .B PostScript
39 is a trademark of Adobe Systems Incorporated.
40 .SH BUGS
41 .B extractres
42 does not alter the
43 .B %%DocumentSuppliedResources
44 comments.