Regardless of what language/toolkit you use to actually deliver the PDF, you 
need to set the content-type header correctly. I don't know what it is off the 
top of my head, but if you do some searching on Google, you should be able to 
find it.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Ricky Thompson
Sent: Thursday, April 21, 2005 11:54 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Pushing a PDF file with CGIDEV2


Can I push a PDF file out to a web browser?

 

I wrote the following RPG program thinking it would work but I get garbage.
We are wanting to dynamically produce the PDF and then push to the user.
The main reason I wanted to push it out was so that I could delete the PDF
as soon as they are done.  Am I going about this the wrong way?

<snip>


This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].