I have a CGI program that writes PDF data to standard out after a header of

Content-type: application/pdf

followed by a blank line, followed by the PDF data.  What the browser
(IE5.5) displays is the PDF text, i.e. it does not activate the Adobe
Acrobat plugin which *is* invoked if I poing the browser at a .pdf file.

If I view the source, the PDF data is correct; in fact, I can save the
viewed source as a .pdf, then open it with Adobe just fine.  So it appears
I'm missing something in the Content-type.  Has anyone done this?

tia,
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



As an Amazon Associate we earn from qualifying purchases.

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-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.