Re: PDF generation in Chrome and Safari

2010-04-20 Thread James Holmes

http://kb2.adobe.com/cps/405/kb405461.html

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


On 20 April 2010 22:53, Glenn Hartong  wrote:

>
> Hi all,
>
> I'm trying to generate a PDF. Should be easy right?
>
> Problem is, Chrome and Safari throw this error in Acrobat:
> "Cannot use Adobe Reader to view PDF in your web browser. Reader will now
> exit. Please exit your browser and try again."
>
> Firefox and IE are fine.
>
> I want the download option not the display in browser option. That would
> solve this problem I believe. I've used cfheader with value="attachment;
> filename=file.ext" and it has worked in the past, but I can't verify I was
> doing it with PDFs.
>
> Here's my code:
>
> 
>CERTIFICATE STUFF HERE
> 
> 
>#myPDF#
> 
> 
> 
>
> Any help will be greatly appreciated.
> Glenn
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333036
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: PDF generation in Chrome and Safari

2010-04-20 Thread Mark A. Kruger

Glenn,

Mine does that too but I click cancel and it comes up anyway.

-mark


Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com


-Original Message-
From: Glenn Hartong [mailto:gl...@glickcf.com] 
Sent: Tuesday, April 20, 2010 9:54 AM
To: cf-talk
Subject: PDF generation in Chrome and Safari


Hi all,

I'm trying to generate a PDF. Should be easy right?

Problem is, Chrome and Safari throw this error in Acrobat:
"Cannot use Adobe Reader to view PDF in your web browser. Reader will now
exit. Please exit your browser and try again."

Firefox and IE are fine.

I want the download option not the display in browser option. That would
solve this problem I believe. I've used cfheader with value="attachment;
filename=file.ext" and it has worked in the past, but I can't verify I was
doing it with PDFs.

Here's my code:


CERTIFICATE STUFF HERE


#myPDF#




Any help will be greatly appreciated.
Glenn




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333035
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm