Thanks Jeremias, this seems to work. But now I have another question. If I define (on a Windows server) a printer and set the default tray to tray 2, everything I print except PS is sent to that tray. When I print a PS file, it's printed on paper from tray 1. Is it possible that the PS file contains data that indicates tray 1 has to be chosen in stead of the default tray of the printer?
Bert -----Oorspronkelijk bericht----- Van: Jeremias Maerki [mailto:[EMAIL PROTECTED] Verzonden: woensdag 21 maart 2007 9:16 Aan: [email protected] Onderwerp: Re: fop 0.93: postscript page-size+landscape Hmm, it was a problem with the PSRenderer. It didn't generate the right setpagedevice command when auto-rotate-landscape is true. Sorry for the trouble. It is fixed now in SVN (Trunk): http://svn.apache.org/viewvc?view=rev&rev=520797 On 20.03.2007 10:48:15 Bert Strobbe wrote: > Yes, I am using that setting. Perhaps there's something wrong with the > fo-file I generate? You'll find an example in attachment. I'm not using > the reference-orientation attribute... > > Bert > > -----Oorspronkelijk bericht----- > Van: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Verzonden: maandag 19 maart 2007 17:46 > Aan: [email protected] > Onderwerp: Re: fop 0.93: postscript page-size+landscape > > Have you tried the "auto-rotate-landscape" setting? > http://xmlgraphics.apache.org/fop/0.93/configuration.html#ps-renderer > > On 19.03.2007 11:35:56 Bert Strobbe wrote: > > Hi everybody, > > > > I have the following problem with fop 0.93 (and fop 0.92): in the > XSL-FO > > files we generate, the attributes page-width and page-height for the > > simple-page-master are set to 210mm and 297mm depending on > > portrait/landscape. The resulting PDF looks like expected and at first > > sight, so does the PS. If I print the PDF, the result is fine, because > I > > print with the 'shrink to printable area' option. But if I print the > PS > > file there's some content that's not printed, more precisely at the > top, > > bottom, left and right. It looks like the PS doesn't take into account > > that only a certain part of a page is printable. Fiddling around with > > the margins of the simple-page-master could help with this, but is > there > > another way? > > When I do a test with landscape width and height, the PDF is ok, but > the > > PS isn't. The text itself is in landscape, but the page is in > portrait. > > Am I supposed to use reference-orientation? I'd rather not use it, > > because I would have to turn my head 90 degrees in order to read a > > landscape document on screen and I already have a headache. I have the > > impression the PS renderer doesn't do anything with the page-width and > > page-height properties. > > > > I don't know if anybody already came across the same problems. Are > there > > any guidelines regarding to setting margins and creating landscape > > documents? > > > > Thanks, > > > > Bert Jeremias Maerki --------------------------------------------------------------------- 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]
