Dave,

no, I'm afraid I can't help you here. The code in question is not mine
to show.

But have a look at this snippet of FOP-generated PostScript code:

FOPFonts begin
%%EndSetup
%%Page: 1 1
%%PageBoundingBox: 0 0 595 842
%%BeginPageSetup
<<
/PageSize [595 842]
/ImagingBBox null
>> setpagedevice
0.001 0.001 scale
%%EndPageSetup
56692 775381 M
BeginEPSF
%%BeginDocument: file:images/logo.eps
56692 707882 translate
0.0 rotate
2624 2624 scale
0 0 translate
0 0 108 29 rectclip

You can see the special DSC comments beginning with "%%". Since all the
PostScript code is text you can read line by line through the file and
wait for lines like "%%Page:" and "%%BeginPageSetup". Then you can
easily insert the lines you need. That's the general approach.


On 11.10.2004 15:40:13 Dave_S_White wrote:
> Thanks for the follow up! Is there any chance you can send me an example of
> post-processing the PS output? I'll admit I haven't looked into it in too
> much detail yet, but any time savings here are much appreciated.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to