Your company here — click to reach over 10,000 unique daily visitors

includeres - Man Page

include resources in a PostScript document


includeres [OPTION...] [INFILE [OUTFILE]]


Include resources in a PostScript document.


display this help and exit

-v,  --version

display version information and exit

includeres includes resources (fonts, procsets, patterns, files, etc.) in place of %%IncludeResource comments in a PostScript document. The resources are searched for under the resource name, and with 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


if OK,


if arguments or options are incorrect, or there is some other problem starting up,


if there is some problem during processing, typically an error reading or writing an input or output file.


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


includeres does not alter the %%DocumentNeededResources comments.


PostScript is a trademark of Adobe Systems Incorporated.

See Also

psutils(1), paper(1)

Referenced By

psutils(1), tl-psutils(1).

February 2023 includeres 2.10