Cfdocument will not print PDF (Need Help)
hello,
why not work. throws error "acrobat not open xxxxx because either not supported file type or because file has been damaged"
the records served on fly xslt generated content. not matter because when comment out xsltfile content , enter text, still throws error.
the code below in pdf.cfm file , include generate content based on report type is
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<cfdocument format="pdf" bookmark="yes" name="pdfreporttype" saveasname="reporttype.pdf">
hello print document in pdf.. <!--- #xsltfile# --->
</cfdocument>
<cfheader name="content-disposition" value="attachment; filename=reporttype.pdf">
<cfcontent type="application/pdf" reset="true">
i wrong, it's been long time since tried this, remove reset="true" cfcontent. vaguely remember that, again it's been while.
^_^
More discussions in ColdFusion
adobe
Comments
Post a Comment