You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Luca Spadoni <lu...@imageline.it> on 2005/05/05 14:07:47 UTC

FOP and ColdFusion...

Hi guys,
I'm a ColdFusion Developer: I use FOP to transform xhtml source code in 
PDF.

I coded following lines:

      	driver1.setRenderer(driver1.RENDER_PDF);
       	driver1.setInputSource(input);
       	driver1.setOutputStream(output);
       	driver1.run();
	output.close();

Assume that the "input" and "output" variables are correct: infact, my 
problem is that this code **does retrieve NO errors** , but the PDF 
generated is **ZERO byte length** :-(

I'm sure that the "XSL-FO stylesheet in input" is well-formed... so I 
can't explain myself this "problem" in the output: Have you got any 
ideas?
Waiting for your suggests... regards;-)

#
# Luca Spadoni
# area "Analisi e Sviluppo"
# luca.spadoni@imageline.it
#
# Image Line S.r.l.
# Faenza (RA) - Italy
#


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: FOP and ColdFusion...

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Luca Spadoni wrote:
> I'm sure that the "XSL-FO stylesheet in input" is well-formed... so I 
> can't explain myself this "problem" in the output

Run your input through the FOP command line application, preferably
with the -d switch. This will tell you whether there are indeed
no problems with your input.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org