I've developed a Leave Request App that takes input from the user in regard to the request for leave and then upon submission of the form, calls another page that dumps the info into a DB and then populates a PDF for printing. What I am having trouble with is that for our machines running the Mac OS it does the dump of data into the DB properly, but then it will not create the PDF but rather downloads a copy of what was processed in the code.
My question is, what do I need to change the CFCONTENT TYPE (and other portions of the initial CFOUTPUT line) to in order to make this work? I've searched for the answer elsewhere, but can't seem to come up with anything...Thank you for your time. CODE SNIPPET ---------------- <CFSETTING ENABLECFOUTPUTONLY="YES" SHOWDEBUGOUTPUT="NO"> <CFCONTENT TYPE="APPLICATION/vnd.fdf"> <CFOUTPUT>%FDF-1.2 1 0 obj << /FDF << /Fields [ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1543 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
