Hi Ahmed,

If you only need to manage tray selection you could try just using ps:ps-page-setup-code in 0.93 without having to build your own FOP. Something like the following should do the trick...

<fo:simple-page-master master-name="example" page-height="29.7cm" page-width="21cm" margin="2cm">
  <fo:region-body/>
  <ps:ps-page-setup-code name="lower-tray"><![CDATA[
        << /MediaPosition 4 >> setpagedevice
  ]]>
  </ps:ps-page-setup-code>
</fo:simple-page-master>

Adrian.

[EMAIL PROTECTED] wrote:
Thanks Adrian.

I am using fop 0.93. The deal is to manage mass-editions and I will need
PS extensions to automatically manage printers' tray selection (Xerox
like).

Does-it mean that this extension will be included in the next FOP standard
versions?

B.R.

Hi Ahmed,

The first question I have is which version of FOP are you using?  I
believe the new extensions that I developed were very recently committed
 to the latest and greatest FOP trunk repository.

If you are using FOP 0.94/0.93 you won't have these new features in the
code and you will need to download the latest trunk source code using a
subversion client and build your own (see
http://xmlgraphics.apache.org/fop/dev/tools.html) for details.

Adrian.

[EMAIL PROTECTED] wrote:
Hello,

I am very insterested by FOP postscript extensions as descibed in
http://wiki.apache.org/xmlgraphics-fop/ExtensionsForPostScript (by
Adrian Cumiskey and Jeremias Maerki). But when I tried to execute the
given example, I've got following error:

Error(6/46): No element mapping definition found for (Namespace URI:
"http://xmlgraphics.apache.org/fop/postscript";, Local Name:
"ps-setpagedevice")>javax.xml.transform.TransformerException: ....

So the question is: how to obtain and install this extension for FOP?
I haven't found web issues before posting this message.

Thank you for any help.

Ahmed HADDAD.



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



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






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

Reply via email to