Man page of makepsres
Section: User Commands (1)
Updated: 20 Jul 1991
Return to Main Contents
makepsres - Build PostScript resource directory file.
creates a PSres.upr file containing all the resources in all the
pathnames on the command line. If the list of directories contains "-",
stdin is read and assumed to be a space-, tab-, or newline- separated list of
directories. If the list of directories is empty, it is taken to be ".". If
all specified directories have a common initial prefix,
extracts it as a directory prefix in the PSres.upr file.
normally acts recursively; it looks for resource files in
subdirectories of any specified directory. This can be overridden with the
command-line option -nr.
uses existing .upr files to assist in resource typing. Its
normal mode of operation is to create a new PSres.upr file containing:
Resource files found in the directories on the command line,
Resource files pointed to by PostScript resource database files in the
directories on the command line, and
Resource entries found in the input PostScript resource database
files. These entries are copied whenever the files they specify still
exist and are located in directories not specified on the command line.
There are two other modes of operation. If run in "discard" mode (see below),
does not copy resource entries from the input PostScript resource database files;
the output file consists solely of entries from the directories on the command
line. The input PSres.upr files are only used to assist in identifying
files. If run in "keep" mode,
includes in the output file all
resource entries in the input PSres.upr files, even entries for files that no
longer exist or are located in directories specified on the command line.
uses various heuristics to type files. A file that is of a
private resource type or that does not conform to the standard format for a
resource file can:
Be identified by the user by running
in interactive mode,
Be preloaded into a PostScript resource database file used for input, or
Begin with the line:
Consult the documentation for your Adobe PostScript system software for
further details on the use of PostScript resource directory files.
- -o filename
Writes the output to the specified
writes to stdout. If the
option is not specified,
creates a PSres.upr file in the current directory.
- -f filename
Uses the specified file, which must be in PostScript resource
database file format, as information to assist resource
options may be specified.
- uses stdin as an input file and may not be used if "-" is specified
as a directory on the command line.
- -dir filename
Specifies that the filename is a directory. Needed only if
the directory name would be confused with an option.
Marks the resulting PSres.upr file as exclusive. This makes
the associated subroutines run more quickly since they do not
have to look for other .upr files; however,
must be run whenever new resources are added to the directory, even
if the resources come with their own ".upr" file.
Specifies interactive mode. In interactive mode, the user
will be queried for the resource type of any encountered
cannot identify. If
is not specified,
assumes an unidentifiable file is not a resource file.
Be quiet: do not warn about unidentifiable files, just ignore them.
Specifies non-recursive. If
does not look in subdirectories for resource files.
If the output file already exists, do not back it up.
Specifies strict mode. If
terminates with an error when encountering an unidentifiable file.
Specifies no directory prefix. If
does not try to find a common directory prefix among the specified directories.
Specifies discard mode.
Specifies keep mode.
$ makepsres /usr/local/lib/ps/fonts
PostScript Language Reference Manual
and the product-specific documentation for your Adobe
PostScript system software.
Adobe Systems Incorporated
PostScript is a registered trademark of Adobe Systems Incorporated.
Copyright (c) 1989-1991 Adobe Systems Incorporated. All rights reserved.
- SEE ALSO
This document was created by
using the manual pages.
Time: 02:42:45 GMT, October 02, 2010