PDF Document Display in WebBrowser

PDF Document Display in WebBrowser

Forum member · Sep 21, 2006
Hi, I have couple of doubts regarding PDFGeneration in Web browser. 1. The pdf gets generated and displayed in one machine but again it doesn't get displayed in another machine and gives a blank screen. The web browser is same in both the machines. 2. Does the different version of Acrobat Reader create problem in generating pdf. For example if two machines having different version of acrobat reader, in that case will it create a problem in displaying the PDF Document? Regards, N.Jebastan.

Re: PDF Document Display in WebBrowser

Support · Sep 21, 2006
Hello Jebastan, PDF documents generated using our product opens fine with any version of Acrobat as long as the generated PDF documents comply with the PDF specifications. What version of Acrobat do you have installed on the machine that results in blank screen? Do you by any chance have .NET Framework 2.0 installed on the machine that giving white screen? Also are you able to run any examples from our web site from the machine giving problem viewing the PDF? Thanks, ceTe Software Support Team

Re: PDF Document Display in WebBrowser

Forum member · Sep 21, 2006
The Acrobat vesrion is 6.0 Microsft .Net Framework SDK 1.1 is installed in the machine. Another issue is that when I generate the document within intranet, it works fine in some machines. However, when I generate the same document over the internet, it does not work in the same machines. It gives a message that Interner Explorer cannot download the specified jsp page from the given URL. Looks like the issue may be related to some security settings or permissions. Could you please give me your inputs on this too. Thanks, Jebastan

Re: PDF Document Display in WebBrowser

Support · Sep 21, 2006
Hello Jebastan, Are you able to run any examples on the web site from the machine that results in blank browser window? The second issue definitely appears to be related to permission on the file. Make sure that the user has permissions to access the JSP page that is throwing this error and verify that the JAR file has read and execute permissions. Thanks, ceTe Software Support Team

Re: PDF Document Display in WebBrowser

Forum member · Sep 22, 2006
Hi, Yes. The examples in your website are working fine. However, I still cannot see the PDF that I am generating within the browser in the same machine. Let me check te permissions for the second issue. Thanks, Jebastan

Re: PDF Document Display in WebBrowser

Support · Sep 22, 2006
Hello, There are two things you can try here: 1. Are you using the JSP page to display the PDF in the browser? If yes, get rid of all the white spaces and try to have all your JSP code within one block or try adding a sOut.flush() directly after the drawToWebPage() method. 2. If you are using HTTP POST to the page creating the PDF, try changing it to HTTP GET. Let us know if either of the two solutions fixed your problem. Thanks, ceTe Software Support Team

Re: PDF Document Display in WebBrowser

Forum member · Nov 2, 2006
Hi, we tried both the options. I am still having the same problem. * "In the second option 'Changing POST To GET Method' , we call the JSP[PDF creating&display Page] from another JSP Page using hyperlink.so it is a GET Request". Please help me to understand 'get rid of all the white space' Thanks, N.Jebastan

Re: PDF Document Display in WebBrowser

Support · Nov 2, 2006
Hello Jebastan, The White Spaces means the unnecessary spaces between two lines or the space between the line itself. You will have to remove all these extra spaces. If you are still having a problem then please send over the JSP code to our [^a|mailto:support@cete.com|Support Team^] so that they can look into it further. Thanks, ceTe Software Support Team.