New PS2PS Filtering Scheme
Input Filter
This filter will take as input:
- A PostScript job
- IPP options
- PPR IPP options
It will produce as output a PostScript job containing:
- the *!PS-Adobe magic sequence
- a comment containing the offset of the first character after %%EOF
- the text of the job with comments upgraded to DSC 3.0 and possibly with binary object sequences marked
- %%EOF
- A table of contents for trailing data
- The IPP options
- PJL options
- A table of offsets of the start and length of each section or page
- A table for each section listing the offset and length of each %%BeginFeature, %%IncludeFeature, or %%IncludeResource section with in the section or page
Output Filter
This filter will take as input:
- The file generated by the input filter
- A PPD file
- Information about additional fonts available to the programs or devices which will receive its output
- Font files
This filter will perform the following operations:
- Insert fonts which it has but the receipient does not
- Insert resources (generally for PPR's *2ps filters)
- Insert PPD features (if so instructed)
- Perform page ordering, copies generation, and N-Up operations (if so instructed)
The filter will be instructed to perform the last two operations if it is being run by pprdrv or if it is sending to a spooler which is not PPR.