We have successfully used a product from CORDA called Highwire to generate 
PDF documents from Witango on the fly. It works great. Maybe a little pricey 
but it was worth it to us because everything is handled as a COM object. Since 
we also use their charting package it fit right in to our environment. Take a 
look at what they have to offer at www.corda.com

-----Original Message-----
From: jeffgoldstein
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 21, 2005 2:10 PM
To: witango-talk@witango.com
Subject: Witango-Talk: How to create a PDF


I have written several tango app's where there is functionality to create and 
.XLS file. Now I have been asked to create a PDF.

I attempted to change the header from:

HTTP/1.0 200 OK<@CRLF>Content-Disposition: 
attachment;filename=allocations-extract.xls<@CRLF>Content-Type: 
application/vnd.ms-excel<@CRLF>Cache-control: private<@CRLF><@CRLF>

This creates the .XLS file but when I changed it to;

HTTP/1.0 200 OK<@CRLF>Content-Disposition: 
attachment;filename=allocations-extract.pdf<@CRLF>Content-Type: 
application/pdf<@CRLF>Cache-control: private<@CRLF><@CRLF>

It did not work, but rather creates an error 500. Any help would be appreciated.

-Jeff Goldstein
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to