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:
Translate CR, found on Macintosh systems, and CR-LF, found on
MS-DOS systems, to Unix line convention (LF).
Remove any non-space control characters, such as EOF (ctrl-d).
Allow paper size mismatch for FrameMaker to enable printing of US
letter size documents on A4 printers and vice versa.
Exit Status
The following exit values are returned:
0
Stdin copied successfully.
1
Not a valid PostScript file: file does not begin with
%!PS.