Skip to main content
Known Participant
Mar 6, 2008 2:52 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Astonished_protector15C3
Participating Frequently
Mar 24, 2008 10:16 AM UTC
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.
Translate
Inspiring
Mar 6, 2008 5:07 PM UTC
Give it a filename attribute.
Translate