I am using Reader 6.0.1. It still has the problem!
thanks  a lot!

Best Regards
Gary Tang
Consultant




                                                                                       
                                                   
                      "Reller, Tony                                                    
                                                   
                      (NSI)"                      To:      "'sam smith'" <[EMAIL 
PROTECTED]>, Bruno Lowagie <[EMAIL PROTECTED]>,        
                      <[EMAIL PROTECTED]         [EMAIL PROTECTED], [EMAIL PROTECTED]  
                               
                      sfargo.com>                 cc:                                  
                                                   
                                                  Subject: RE: [iText-questions] Re: 
Please help me on PDF in Acrobat Reader  6!          
                      04/06/2004 11:22 AM                                              
                                                   
                                                                                       
                                                   
                                                                                       
                                                   




There had been reported problems with Adobe 6.0. Its best just to update to
6.0.1 See issue in the forum:

http://www.adobeforums.com/cgi-bin/[EMAIL PROTECTED]@.2cce7577/2
      -----Original Message-----
      From: [EMAIL PROTECTED]
      [mailto:[EMAIL PROTECTED] Behalf Of sam
      smith
      Sent: Tuesday, April 06, 2004 9:55 AM
      To: Bruno Lowagie; [EMAIL PROTECTED];
      [EMAIL PROTECTED]
      Subject: Re: [iText-questions] Re: Please help me on PDF in Acrobat
      Reader 6!

      We've experienced something similar to this on our project.  Try
      adding the following header.

      clResponse.setHeader("Cache-Control", "must-revalidate, post-check=0,
      pre-check=0");


      That seemed to fix our issue.  Otherwise, you might search the web.
      It seems that a lot of people have had similar issues with PDFs and
      IE.


      Good luck!


      Sam







      Bruno Lowagie <[EMAIL PROTECTED]> wrote:
       It's probably a configuration issue.
       I forward your question to the mailing list, but this is the kind of

       problems
       that will work on 99 PC's configurated in a similar way, but not on
       the 1
       that is configurated slightly different.
       br,
       Bruno

       [EMAIL PROTECTED] wrote:

       >
       >
       >Hi, Bruno:
       >I am using itext to dynamically create pdf pages in browsers. For
       Acrobat
       >Reader 5,my code can create PDF file in both IE(5.5) and
       NetScape(4.7 and
       >6). When I use Acrobat Reader 6(I removed Acrobat Reader 5.5 and
       restart
       >my machine and then I installed Acrobat Reader 6)), the same code
       only
       >works in NetScape(4.7, 6). It doesn't work for IE(5.5) at all.
       Below is
       >the code I am using to create the pdf in browser:
       >
       >private void showReport(byte[] report, String mimeType, String
       >filename)throws ApplicationException {
       > String contentType = new
       >StringBuffer(50).append(mimeType).append(";name=").append(filename).toString();

       > String contentDisp = new
       >StringBuffer(50).append("inline;filename=").append(filename).toString();

       > hasOutputAlreadyBeenSent = true;
       > setNoCach();
       > ivResponse.setContentType(contentType);
       > ivResponse.setHeader("Content-Disposition", contentDisp);
       > ivResponse.setContentLength(reportSize);
       > try {
       > ServletOutputStream out = ivResponse.getOutputStream();
       > out.write(reportChunk);
       > out.flush();
       > } catch (java.io.IOException e) {
       > throw new ApplicationException(REPORT_CANNOT_BE_GENERATED);
       > }
       >}
       >
       >Could you please point out the problem in my code or the problem
       with
       >Acrobat Reader 6 in IE or any way to walk around? It is very
       urgent. Right
       >now the project is in system testing phase.
       >Thank you very much !
       >
       >Best Regards
       >Gary Tang
       >Consultant
       >
       >M Systems Group
       >130 King St. West
       >P.O. Box 427, Suite 1800
       >Toronto, ON M5X 1E3
       >
       >Tel: (905) 293-5233
       >Fax: (416) 865-3369
       >[EMAIL PROTECTED]
       >www.msystemsgroup.com
       >
       >
       >
       >
       >





       -------------------------------------------------------
       This SF.Net email is sponsored by: IBM Linux Tutorials
       Free Linux tutorial presented by Daniel Robbins, President and CEO
       of
       GenToo technologies. Learn everything from fundamentals to system
       administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

       _______________________________________________
       iText-questions mailing list
       [EMAIL PROTECTED]
       https://lists.sourceforge.net/lists/listinfo/itext-questions list
       [EMAIL PROTECTED]
       https://lists.sourceforge.net/lists/listinfo/itext-questions


      Do you Yahoo!?
      Yahoo! Small Business $15K Web Design Giveaway - Enter today








-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to