Nevermind.  After I stopped and started the browser, it works fine.

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

----- Original Message -----
From: "Peter Dow" <pcdow@yahoo.com>
To: <WEB400@midrange.com>
Sent: Monday, April 08, 2002 6:17 PM
Subject: [WEB400] Content-type header for PDf output


> 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
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.


_________________________________________________________
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 ...

Replies:

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.