Skip to main content
Participant
February 14, 2009
Question

cfdocument and coldfusion 8

  • February 14, 2009
  • 1 reply
  • 819 views
cfdocument is working fine when i use "flashpaper".

Then i've been trying to create a "PDF", and I just cannot get it to work.
Nothing to display in browser.

<cfdocument format="pdf">
<h1>PDF Generation</h1>
<hr />This is an example of PDF generation using ColdFusion 7.
</cfdocument>

1) My pc have acrobate 7.0 professional.



This topic has been closed for replies.

1 reply

February 16, 2009
Your arguments require more specifications try:
<cfdocument fontembed="true" format="pdf" backgroundvisible="true" filename="#expandPath('.')#\test.pdf" pagetype="letter" >
<h1>PDF Generation</h1>
<hr />This is an example of PDF generation using ColdFusion 7.
</cfdocument>