psrepair: fix PostScript files

psrepair repairs common defects in PostScript files, making them suitable for printing in Unix environments. It acts as a filter, copying stdin to stdout. Error messages are written to stderr.

The following defects are corrected:

Exit Status

The following exit values are returned:
0Stdin copied successfully.
1Not a valid PostScript file: file does not begin with %!PS.
2Line exceeds maximum of 2048 characters.

See Also

ps2ascii

Installation

The sources are found at http://new-www.cs.columbia.edu/~hgs/psrepair/psrepair.tar.gz. After unpacking, type
make

Author

Henning Schulzrinne
Last modified: October 30, 1996