home *** CD-ROM | disk | FTP | other *** search
-
- FIXPS, or fix post script, is designed to alter postscript files so
- that they work with POST1.1.
-
- POST1.1 uses strict type checking for the postscript BIND function. I
- found that every postscript file I had failed to run on POST for this
- reason. Sometimes "BIND DEF" was used when just "DEF" was appropriate,
- and visa versa. This was true for some PD PS files, as well as those
- generated by Pagestream 1.8.
-
- FIXPS 1.0 uses a very simple algorithm, and makes the assumption that
- "BIND DEF" is defined as "BDEF". This seems to be common practice, and is
- true with pagestream. If the following line appears in your post script
- file(s), then FIXPS should work for you:
-
-
- /bdef {bind def} bind def
- Also, be sure that "BDEF" is actually used instead of "BIND DEF".
-
- When a right brace,"}", is found, and the next non-space character is
- a "D", FIXPS inserts a "B", presumably to change "DEF" to "BDEF" after a
- procedure definition.
-
- When a "BD" is found, indicating "BDEF", and they are not the first non-
- space characters after a right brace, the "B" is dropped to change "BDEF" to
- "DEF". An exception is made if the first non-space character preceding "BD"ef
- is a backslash, signaling the definition of "BDEF", as above.
-
- FIXPS is used from the shell or CLI. The postscript file name follows
- "FIXPS" on the command line. The original file will remain intact, and the
- altered file will have "_FIX" appended to its name.
-
- I hope this program is of some help to you. I didn't include the source
- because this is my first program in C. Also, I did not do extensive testing,
- but FIXPS seemed to do well with the few files I have. Hopefully, now we can
- all appreciate the efforts of those who developed POST.
-
- Also included is a picture of the Simpsons, imported into Pagestream, then
- printed to a postscript file; and, the fixed version of the same file.
- Don't forget to set your default font for POST1.1 in the INIT.PS file.
- That is the only oher problem I had trying to run POST.