You're approaching a point where I would say that it's time to write a
PostScript post-processor. At least, that's what I always did in the
past when I had to do stuff like this. I'm unconfortable providing
plug-ins for every sort of possibility in the PS renderer. But you're
lucky since it's now relatively easy to write such a post-processor
since the whole framework for it is already found in XML Graphics
Commons which FOP uses.

See http://xmlgraphics.apache.org/commons/postscript.html#dsc

Jeremias Maerki



On 10.10.2007 12:12:02 ahaddad wrote:
> Hi,
> 
> I remarked that among ps tags ("ps-setup-code", "ps-page-setup-code" and
> "ps-setpagedevice") there is no one which allows to inject PS instruction
> only once in the document. I have a case where following code comes only
> at the beguinning of the ps file:
> 
> %%DocumentMedia: anything 595 842 0 MAIN ()
> %%+ anything 595 842 0 AUX ()
> %%+ anything 595 842 0 MAG3 ()
> %%+ anything 595 842 0 MAG4 ()
> %%+ anything 595 842 0 MAG5 ()
> 
> and not in every page.
> 
> The generated ps file is correctally opened by gsView for the moment: I
> dont know yet if it will be "accepted" by Xerox printer. Anyway, there is
> a risk that ps file will be enormous when programs will be deployed...
> 
> A+. Ahmed HADDAD.


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

Reply via email to