fixpdf.cmd - now fixpdfcs.cmd

Julian Thomas : http://jt-mj.net  and
Steven Levine <steve53@earthlink.net>

May 10 2001.

This is a free OS/2 Rexx command-line program. It removes one specific 
backward-compatibility problem between Acrobat 4 Distiller and Acrobat 3 
Reader. The symptom of this problem is the message "Could not find the 
ColorSpace named 'Cs9'" or Cs6, etc.

The program will attempt to fix your PDF file. 
If your PDF file has any other problem or uses any other Acrobat 4 (PDF 1.3) 
feature, it won't help that.

Disclaimer: While it's been tested on a number of files by a goodly number of
users, there are, of course, no guarantees.

USAGE:

Usage: fixpdfcs [-h] [-d] [-c] [-V] pdffile...

 -d            Display debug messages
 -h            Display this message
 -t            Test mode - orginal unchanged
 -v            Display progress messages
 -V            Display version

 pdffile       PDF file to edit
               Backup of original saved to %TMP% directory


The fixed file replaces the original file.

If a filespec includes spaces (a practice that I believe should be avoided),
the program will only handle it correctly if it is enclosed in quote marks.

Change log           
           
08 Apr 03 SHL - Adapt from Julian Thomas's fixpdf.cmd
01 Aug 03 SHL - Show offsets in hex too
01 Aug 03 SHL - Ensure matched on correct object
02 Aug 03 SHL - Ensure cmd.exe compatible
04 Aug 03 SHL - Correct -V and usage

Aug 4 2003 - replaced with Steven Levine's version.