EXTRACTRES

Section: User Commands (1)
Updated: April 2021
Page Index
 

NAME

extractres - extract resources from a PostScript document  

SYNOPSIS

extractres [,OPTION/...] [,INFILE /[,OUTFILE/]]  

DESCRIPTION

Extract resources from a PostScript document.
-m, --merge
merge resources of the same name into one file (needed e.g. for fonts output in multiple blocks)
--help
display this help and exit
--version
display version information and exit

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.

 

Exit status:

0
if OK,
1
if arguments or options are incorrect, or there is some other problem starting up,
2
if there is some problem during processing, typically an error reading or writing an input or output file.
 

AUTHOR

Written by Angus J. C. Duggan and Reuben Thomas.  

BUGS

extractres does not alter the %%DocumentSuppliedResources comments.  

COPYRIGHT

Copyright © Reuben Thomas 2012-2019.
Copyright © Angus J. C. Duggan 1991-1997.  

TRADEMARKS

PostScript is a trademark of Adobe Systems Incorporated.  

SEE ALSO

psutils(1), paper(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
Exit status:
AUTHOR
BUGS
COPYRIGHT
TRADEMARKS
SEE ALSO