Won't this just open it up in another browser?
I'd like to get it out of a browser?
Is that even possible?

Darren Tracey

> -----Original Message-----
> From: Steve Onnis [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 16 October 2003 2:28 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] RE: How do I _not_ embed a pdf?
> 
> 
> Darren
> 
> Why dont you just use javascript to open a new window with 
> the url to the
> pdf as the href?
> 
> Steve
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Darren
> Tracey
> Sent: Thursday, October 16, 2003 2:18 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] How do I _not_ embed a pdf?
> 
> 
> 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/
> 
> 
> ---
> 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/
> 

---
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/

Reply via email to