Debian Codegraph @

upstream/opensuse-tumbleweed/man1/extractres.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
2 .TH EXTRACTRES "1" "December 2021" "extractres 2.08" "User Commands"
3 .SH NAME
4 extractres - extract resources from a PostScript document
5 .SH SYNOPSIS
6 .B extractres
7 [\fI\,OPTION\/\fR...] [\fI\,INFILE \/\fR[\fI\,OUTFILE\/\fR]]
8 .SH DESCRIPTION
9 Extract resources from a PostScript document.
10 .TP
11 \fB\-m\fR, \fB\-\-merge\fR
12 merge resources of the same name into one file
13 (needed e.g. for fonts output in multiple blocks)
14 .TP
15 \fB\-\-help\fR
16 display this help and exit
17 .TP
18 \fB\-\-version\fR
19 display version information and exit
20 .PP
21 .B extractres
22 extracts resources (fonts, procsets, patterns, files, etc) appearing in a
23 PostScript document, and puts appropriate
24 .B %%IncludeResource
25 comments in the document prologue.
26 The extracted resources are written to files with the same name as the
27 resource, and an appropriate extension.
28 The pipeline
29 .sp
30 .RS
31 extractres file.ps | includeres >out.ps
32 .RE
33 .sp
34 will move all resources appearing in a document to the document prologue,
35 removing redundant copies.
36 The output file can then be put through page re-arrangement filters such as
37 .B psnup
38 or
39 .B pstops
40 safely.
41
42 .SS "Exit status:"
43 .TP
44 0
45 if OK,
46 .TP
47 1
48 if arguments or options are incorrect, or there is some other problem
49 starting up,
50 .TP
51 2
52 if there is some problem during processing, typically an error reading or
53 writing an input or output file.
54 .SH AUTHOR
55 Written by Angus J. C. Duggan and Reuben Thomas.
56 .SH BUGS
57 .B extractres
58 does not alter the
59 .B %%DocumentSuppliedResources
60 comments.
61 .SH COPYRIGHT
62 Copyright \(co Reuben Thomas 2012\-2019.
63 .br
64 Copyright \(co Angus J. C. Duggan 1991\-1997.
65 .SH TRADEMARKS
66 .B PostScript
67 is a trademark of Adobe Systems Incorporated.
68 .SH "SEE ALSO"
69 .BR psutils (1),
70 .BR paper (1)