Try printing both using GSView. I've just converted both a PDF and a PS to a TIFF image using GhostScript/GSView and compared both. Completely identical. Must be coming from somewhere else. FOP is not the problem if you ask me.
Jeremias Maerki On 11.10.2007 17:13:14 ahaddad wrote: > - The shift is 2 or 3 mms at minimum to the up and more important (5mms) > to the left. > - PS files were generated with -ps option, PDF ones with -pdf. Then I > printed PDF file through Acrobat Reader, and PS one through gsView. > - In Acrobat Reader, no fit options were used. I even personnalized the > paper format from 29.7cm height (A4 format) to 29.8cm (it the height of > the paper used for pre-printed forms). > > Thanks again. > > > > Last I verified, PDF and PS output was practically identical. Could it > > be that you printed the PDFs using Acrobat Reader and you had "Fit to > > printable area" or something like that activated? > > > > > > Jeremias Maerki > > > > > > > > On 11.10.2007 16:22:20 ahaddad wrote: > >> I tried to use differents margins for my PS output but it does not > >> work: some elements are always shifted or are outside the document! > >> > >> Either it is a problem with the FOP PS renderer or there is something > >> in my XSL-FO transformation FOP does not like at all (borders? > >> leaders?)? It will be a little bit annoying to reposition all my > >> fields specially for PS output or to use separate templates depending > >> on output... > >> > >> Thanks again for any help. > >> > >> A+. Ahmed HADDAD. > >> > >> > Hi FOP-Experts, > >> > > >> > I have a problem with my PS generated files: they seem to be > >> "shifted" to the up-left side compared to PDF output. > >> > > >> > In fact, I have optimized my edition using PDF output. But when I > >> finally tested the PS output, all my fields were outside the > >> > corresponding zones on the pre-printed formular! > >> > > >> > Of course, a quick solution is to use different margins for PS > >> output... But I am wondering if there is better way to do it (a > >> renderer config param in gop.xconfig or a hidden FOP input)? > >> > > >> > I don't think it is a FOP bug?? I think to have remarked the same > >> shift when printing the samples given in the FOP package. But it is > >> more serious now because off the pre-printed forms. > >> > > >> > Thanks for your help. > >> > > >> > A+. 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]
