Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cfparam name="url.input" default="">
- <cfdocument name="pdfContent" format="pdf">
- <h1>Welcome</h1>
- <cfoutput>
- Hello, #url.input#
- </cfoutput>
- </cfdocument>
- <cfheader name="Content-disposition" value="attachment;filename=custom.pdf" />
- <cfcontent type="application/pdf" variable="#pdfContent#" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement