Skip to main content
Known Participant
March 6, 2008
Question

How to use cfdocument create a PDF file and save the file in server?

  • March 6, 2008
  • 2 replies
  • 6224 views
Hi,

I want to use cfdocument to create a PDF file and save it in the server for other people to download,can you give me a idea how to do this.Thanks.

<cfdocument format = "PDF" pagetype="A4" orientation="portrait">
......
</cfdocument>

Mark
This topic has been closed for replies.

2 replies

Astonished_protector15C3
Participating Frequently
March 24, 2008
Hi
<cfdocument filename="" format = "PDF" pagetype="A4" orientation="portrait">
......
</cfdocument>

Give the physical path to the filename. You have write permission for this folder to create a PDF file.
Inspiring
March 6, 2008
Give it a filename attribute.