Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

PDF Generation for Coldfusion 11

$
0
0

We just recently installed Coldfusion 11 enterprise. The code for generating pdf files worked before but did not work on the Coldfusion 11 enterprise platform. The code is like this:


<cfcontent type="application/pdf" />

<cfheader name="Content-disposition" value="attachment;filename=Report.pdf">

        <cfdocument format="pdf">

             <cfdocumentsection>

                  <cfinclude template="facultyReports.cfm">

             </cfdocumentsection>

        </cfdocument>


I got the following error:


coldfusion.document.DocumentProcessor$TimeOutException at coldfusion.document.DocumentProcessor.processContent(DocumentProcessor.java:277)


I also tried to use the new tag <cfhtmltopdf>, like this:


<cfhtmltopdf>

     This is a test.

</cfhtmltopdf>

 

The server/page was just hanging there.

 

Any insights are greatly appreciated.


Thanks.


Peggy


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>