While Chris is right that the -print output can never be 100% the same
as from PDF or PS, a difference of 2cm rather sounds like a print margin
problem. I haven't had time to look into this, yet, but I'm pretty sure
it's that. Chris' work-arounds are certainly correct.

On 01.06.2006 12:22:59 Chris Bowditch wrote:
> Rick Roen wrote:
> 
> > FOP 0.92b + Saxon 8
> > 
> > I’m getting different results with the attached files when I do the 
> > following:
> > 
> > 1) FOP –xml test.xml –xsl test.xsl –pdf test.pdf
> > 
> > And
> >             2) FOP –xml test.xml –xsl test.xsl –print
> > 
> > The first one produces a normal pdf which prints ok.
> > 
> > The second one sends the output directly to the printer, however the top 
> > block is offset up and to the left by about 2cm. The balance of the 
> > pages print normally.
> 
> The reason for the difference between -pdf and -print is because FOP 
> uses the AWT renderer when printing directly to the Printer. The output 
> from AWT varies greatly depending on o/s and JDK version. If you need to 
> print a document then the recommended approach is to generate Postscript 
> using the PS Renderer (output will be identical to the PDF Renderer) and 
> pipe that directly to the printer using LPR or similar OS tool.
> 
> Chris
> 
> <snip/>


Jeremias Maerki


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

Reply via email to