I am writing a simple document manager which will allow me to print large (1.5GB) "pre-separated" postscript files. Under certain circumstances I will only want to output 1 separation (or Page) from the file. I've found that I can't count on skipping whole pages since some postscript files don't conform to DSC. For instance, some documents define resources in the first page that are needed by all pages that follow it. Therefore, it is necessary to process the first page along with the page I want to output.
To get around this, my document manager looks for DSC comments that it can use to filter out large chunks of page content. This is done to minimize the amount of code sent to the interpreter for pages that will not be output. My problem is that I came across an adobe illustrator file that doesn't use the comments I count on to perform the filtering(%%BeginDocument, %%BeginObject, %%BeginData, and %%BeginBinary). Instead it uses a %%BeginDataCountAtEnd and %%EndDataCountAtEnd comment around image data. I haven't been able to find any information on this particular comment. It appears to be DSC but I'm not sure. I am looking for any information on this particular comment and would welcome any information regarding other undocumented DSC comments I could use to perform my task.
To get around this, my document manager looks for DSC comments that it can use to filter out large chunks of page content. This is done to minimize the amount of code sent to the interpreter for pages that will not be output. My problem is that I came across an adobe illustrator file that doesn't use the comments I count on to perform the filtering(%%BeginDocument, %%BeginObject, %%BeginData, and %%BeginBinary). Instead it uses a %%BeginDataCountAtEnd and %%EndDataCountAtEnd comment around image data. I haven't been able to find any information on this particular comment. It appears to be DSC but I'm not sure. I am looking for any information on this particular comment and would welcome any information regarding other undocumented DSC comments I could use to perform my task.