I'm producing a PDF file using HTML2PDF, and sending the resulting file to the browser
like this:
<cfset tempReturn =
generatePDF(tempHeader,tempFooter,tempBody,tempFileName,96,50,50,50,12)>
<!--- Set the content-type so Acrobat is invoked --->
<CFCONTENT TYPE="application/pdf" file="#tempFileName#" deletefile="yes">
<!--- Suggest default filename for pdf --->
<CFHEADER NAME="content-disposition"
VALUE="attachment;filename=studclasslist01.pdf">
Its running out of frames, so the pdf file replaces the selection form page.
There are hyperlinks in the pdf file that allows drill down on data, but these replace
the pdf file when clicked on. There doesn't seem to be anyway to specify a target for
pdf links like you can in html.
I've found that more 'polite' behaviour is forced if you open up the pdf file
directly, which causes it to open in the adobe pdf viewer outside of a browser, which
means that clicking on any links in the pdf doc cause the link to open up in a browser
and not disturb the pdf.
The code above embeds the pdf into the browser.
Does anyone know of a way to force the pdf to open up outside the browser, just in the
acrobat viewer, or else a way to make pdf links open up in a new browser window?
Regards
Darren Tracey
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/