This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I have a CGI program that writes FDF data to standard out like this:

Content-type: application/vnd.fdf
Expires: Monday, 01-Jan-92 00:00:00 GMT
Pragma: no-cache

%FDF-1.2
1 0 obj
<</FDF
  <</Fields Ý
Flds    << /V (line01 data)/T (Line01)>>
            ¨
     /F (d:/temp/UB92 lined.pdf)
  >>
 >>
endobj
trailer
<</Root 1 0 R >>
%%EOF

What the browser (IE5.5) displays is the FDF text without the CRLF's.  When
I change the content type to "Content-type: application/pdf", the IE shows
the FDF text *with* the CRLF's.

In both cases, IE does not activate the Adobe Acrobat plugin which *is*
invoked if I point the browser at a .fdf file on my local disk.

The FDF data is correct; in fact, I can save the FDF text displayed by the
browser as file.fdf, then open it with Adobe or IE, and it works as
expected.

Articles I've found on the web indicate that "application/vnd.fdf" is the
correct content type.  I had a similar problem back in April of this year
which was solved by stopping and starting the browser; that doesn't help.
I've tried it on both Win2K and Win98 with the same results.  I'm looking
for ideas to try or a manual to read.

tia,
Peter Dow
Dow Software Services, Inc.
909 793-9050 voice
909 522-3214 cellular
909 793-4480 fax


--




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.