Thanks Chris. I got better results this morning using <ps:ps-setpagedevice name="lower tray"><![CDATA[ << /MediaPosition 3 >> ]]></ps:ps-setpagedevice>. Explanation: In the example I copied yesterday, there were an extra slash [like this: << /MediaPosition /3 >>] so it didn't work! On the test printer (my HP LaserJet 5000DN), I could print on trays nbr 1 and nbr 3, but no way to use the nbr 2. But I think there must be some printer configuration params to be changed. I will test on the "big" Xerox in next hours. Hope it will work.
Thank you again. A+. Ahmed HADDAD. > [EMAIL PROTECTED] wrote: > >> Thanks for all for help. >> >> Building FOP packages and using the new built version was fine simple. >> But I havent succeeded into generating a valid PS file. Either >> <ps:ps-page-setup-code> tag indicated by Adrian Or >> <ps:ps-setpagedevice> tag do not seem to inject the right PS >> instructions (there is no << /MediaPosition >> instruction in the >> PS)!! > > Thats odd. It works for me here. Can you post up the XSL-FO File you are > testing with? > >> >> The generated postscript can not be opened in gsView, and when I try >> to send it directally to printer, it has no effect! For tests I am >> using a HP LaserJet 5000DN series (May be not a PS compliant >> printer... But I think using gsView is a good test). >> When I delete these tags, the generated PS is valid: it can be printed >> and viewed, but of course, it does not use the multi-tray options... >> >> I will continue working on this issue tomorrow... >> Thanks again!! (Any extra-help will be welcomed). > > Thanks, > > Chris > > > > --------------------------------------------------------------------- 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]
