Thanks Marlon, I've run this code in Adobe Reader 6 and 7; and still get
blank pages. I don't think it matters if reconfiguring the Reader works
because no visitor is going to do that to their browser.

After googling a while longer I found this code, and it works. 

<cfheader name="Content-Type" value="pdf">
<cfheader name="Content-Disposition" value="inline;
filename=mediakit.pdf">
<cfcontent type="application/pdf" file="mediakit.pdf">

Yet, this method hasn't been documented by MM. Wish I knew why the
cfinclude didn't work though.

-Daniel

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Marlon Moyer
Sent: Friday, July 22, 2005 9:40 PM
To: [email protected]
Subject: Re: CFContent PDF

More than likely this isn't your code causing the problem.  I've had
this trouble with both Reader 5.0 & 6.  Reader 7 doesn't seem to have
this problem.  The other thing to try is to configure Reader so that
it doesn't integrate with the browser.  If you set this option, Reader
should open up in it's own window.

Also, browser addons such as Maxthon or Avant seem to be especially
prone to this.

Marlon


On 7/22/05, Daniel Elmore <[EMAIL PROTECTED]> wrote:
> If anyone is still around this evening...
> 
> I need to display a PDF from a CF page. Per Charlie Arehart's
suggestions
> I'm doing it this way:
> 
> <cfcontent type="application/pdf" reset="yes">
> <cfinclude template="file.pdf">
> 
> Acrobat starts up but all the pages in the PDF are blank!?
> 
> But, this didn't work either:
> <cfcontent type="application/pdf" file="file.pdf" reset="yes">
> 
> Am I missing something?
> 
> Thanks!
> 
> 
> ----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
>    http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
>    http://www.dfwcfug.org/form_MemberRegistration.cfm
> 
> 
> 


-- 
Marlon

"I don't know where I'm going
Only God knows where I've been
I'm a devil on the run
A six gun lover
A candle in the wind "
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm



----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to