![]() |
| Cfoutput and CFX_PDF |
|
jamaalthegreat
|
Try as I may I cannot for the life of me get my code to work. Whats worse is that I got this to work a few months ago but accidentally deleted the code and now I cant get it to work again. Heres the code
<html> <head> <title>page</title> </head> <cfoutput> <cf_pdf file="cert.pdf" allowprinting="true" allowcopy="false" allowmodify="false"> <cf_pdf_page size="LETTER"> <cf_pdf_image x="35" y="690" file="ft-letterhead.jpg"> </cf_pdf_page> </cf_pdf> </cfoutput> <cfcontent type="application/pdf" deletefile="yes" file="cert.pdf"> <body> <a href="cert.pdf">Here</a>1 </body> </html> The problem is that the pdf wont open. The pdf generates fine with out the use of the cfcontent. I cant see the problem with my use of the tag though. I have played with every combination of the code and I know that its something thats really simple but I think I've been staring at this page way too long. Maybe a fresh set of eyes can help. Thanks -Jamaal |
||||||||||||
|
|
|||||||||||||
|
rkalch
|
Get rid of the <cfcontent stuff and you'll be up and running.
|
||||||||||||
|
|
|||||||||||||
| Cfoutput and CFX_PDF |
|
||
|


