A question of opening pdf file in browser

hi,i open a pdf in browser(such as Internet Explorer 7),the link like this:http://www.123.com/ex.pdf?zoom=45,i want to open this pdf in browser with 45%,but i found it was'nt effected, it open with 133%.
how can i set make it open with 45%?thanks!

Would reading the PDF file contents into a byte stream, setting the content type to PDF (I can't recall the exact string, sorry), and sending the bytes down in the response stream do it?
I've created PDFs on the fly using Jakarta's FOP and sent the bytes down after setting the content, but I haven't tried it with an existing PDF. Might be worth a try. - MOD

Similar Messages

  • Unable to open PDF file in browser using Reader 9 with IE8

    I just updated to IE8 and when trying to open a PDF file on the browser, I received a message stating to use Adobe Reader 8 or 9.  I downloaded AR9 and still receive the same message and cannot open PDF files in browser window.  It defaults to my Adobe Acrobat 6.0 which will not open the file.  I have Windows XP.  I do not have a problem opening a PDF file in Yahoo mail with AR9.  I have tried many different ideas on the web to no avail.  Appreciate any help to be able to default to open PDF files in the browser using AR9 which is apparently required by IE8.

    Fixed problem by taking to a computer store to find that my hard drive storage was maxed out.  I had the hard drive repaced with a larger amount of storage.   Problem resulted from inadequate amount of storage space which prevented me from downloading and installing Adobe Reader 9.
    Thanks to al that responded.  

  • Cant open pdf files in browser

    Cannot open pdf files in browser but can open from hard drive. Using Adobe 11.0.02 with Windows 8. Have uninstalled Reader and reinstalled and then restarted PC; Checked for updates; used the Repair selection on the menu. Frustrated. Suggestions?

    Hi adityabhargava01-
    My first suggestion is to upgrade to the most recent version of Firefox by going to this link:
    http://www.mozilla.org/en-US/firefox/new/
    My second suggestion is to read this article on how to many your preferences on how Firefox deals with PDFs and all other file types:
    [[Options window - Applications panel]]
    I hope that helps!

  • Unable To Open PDF File In Browser

         I am unable to open a PDF file within my browser using Adobe Reader.  Whenever I attempt to open a PDF file, I get the following message:
    The Adobe Acrobat/Reader selected for viewing PDF documents in browsers cannot be found at its installed location, it may have been moved or deleted.
    Please reinstall or repair the application (15:524)
         I have ensured that Adobe Reader is set as my default program for opening PDF files, and have downloaded and installed the latest version of Adobe Reader.  I am running Windows 8 and Internet Explorer 10.
         I have attempted to contact Adobe Reader Support and was informed that the expected wait time was 3-5 minutes.  I have been holding for over an hour without any support.

    How about if you right click on the PDF and select Save Link As..., and then open it locally from within Reader? Does it work ok then?  That might be a workaround until the issue within the browser is resolved.
    Rob Jaworski
    Intl Program Manager

  • I can't open pdf files in browser, even though I have installed an add-on.

    I downloaded the cloud viewer add-on for Firefox on my tablet. I am running Android 4 (ICS). I need to be able to open PDF files directly in the browser window, as the site will not allow me to download the files and open in an independant viewer. Is there any way to do this in Firefox?

    I find it odd that the browsers on the Android platform can't support this on their own. I know that Google Chrome on it's full blown version for the PC is able to do so without using the Adobe software for the embedded PDF aka using "The Adobe PDF Link Helper" . I would love to see this change especially since I prefer Firefox over other browsers.

  • Can't open pdf file on browser explorer 11

    I have a problem on one of our customers pc's. it can't open pdf files on explorer browser.
    another user has the same problem, so all the solutions must be other then u can see here: Reader XI PDF Reader Display in browser does not work
    thanks
    shay

    Hi Shay,
    What is your Reader version?
    To check Reader version launch Reader and go to Help->About Adobe Reader
    Thanks,
    Rohit

  • How to open pdf files in browser using flex

    hi,
    my project is having a Document explorer wchich contains pdf
    files,iwant to open it in the browser.can any one tell me how to
    open pdf documents using flex programming(i tried with different
    thing like swf's but my client wants only pdf formatt).

    Another option is by calling a JSP page. This example will
    open a pdf file into a new browser without displaying the download
    "save" prompt.
    Function to call the JSP:
    private function downloadFlyer(event:Event):void {
    var jspLink:URLRequest = new
    URLRequest("jsp/downloadpdf.jsp?fileName=Fundraiser_flyer_2008.pdf");
    navigateToURL( jspLink, "_blank" );
    JSP code:
    <%@ page errorPage="error.jsp" %>
    <%@ page import="java.io.*" %>
    <%
    //Get the parameters
    String downloadFileName=request.getParameter("fileName");
    String fileName = application.getRealPath("/downloads/" +
    downloadFileName);
    File file = new File(fileName);
    if (!file.exists()) {
    throw new IOException("File does not exist.");
    // Get the size of the file
    long length = file.length();
    // You cannot create an array using a long type.
    // It needs to be an int type.
    // Before converting to an int type, check
    // to ensure that file is not larger than Integer.MAX_VALUE.
    if (length > Integer.MAX_VALUE) {
    throw new IOException("File too big.");
    response.reset();
    response.resetBuffer();
    response.setContentType( "application/pdf" );
    response.setHeader ("Content-Disposition", "filename=" +
    downloadFileName);
    //Prevent the Java error: "getOutputStream() has already
    been called for this response"
    out.clear();
    out = pageContext.pushBody();
    InputStream in = new FileInputStream(file);
    OutputStream output = response.getOutputStream();
    try {
    int curByte=-1;
    while( (curByte=in.read()) !=-1){
    output.write(curByte);
    } catch (IOException ioe) {
    ioe.printStackTrace(System.out);
    } finally{
    output.flush();
    in.close();
    response.flushBuffer();
    %>

  • Open PDF file in browser

    Hi
    I have uploaded some pdf files using HTMLDB upload download tutorial.
    When downloading it always pops up the option of "Open"/"Save"/"Cancel"
    I dont want to see the options. Instead I should be able to view the pdf file in the web browser.
    Any suggestions on how to do it ?
    Thanks
    Diwakar

    I am too having an issue with embedding a pdf into an HTML Region and not having any luck. I've uploaded the actual .pdf file in my filesystem on Linux and used the following embed link and still doesn't work:
    <HTML>
    <BODY>
    <EMBED SRC="/u01/app/oracle/product/10.1.0/companion_1/marvel/Documents/<pdf_filename>.pdf" width="100%" height="100%" type=application/pdf fullscreen="yes">
    </BODY>
    </HTML>
    Since I couldn't get that to work, I can make it an href and open the file in the browser, but I would like to have it embedded into the region.
    I now have uploaded the .pdf into the static file upload, but how do you know the location or tag to reference the file that has been uploaded as a static file?

  • I cannot open pdf file while browsing on my galaxy tab 10.1, I must download fisrt, why?

    I am wanting to view pdf files while I am browsing on my galaxy tab 10.1. The browser will not open the pdf. I always get the download screen asking what to name the file and where to put it.

    Adobe does not have a pdf plugin for Android. All pdf files will need to be saved and opened with a pdf reader external to the browser.

  • Open pdf file from browser

    Hi,
    I'm trying to open a pdf file on a hyperlink. I'm directly forwarding to the PDF file on the server using
    <jsp:forward page="../PDF/MyPdf.pdf" />. But the problem here is, Im getting the automatic prompt for downloading instead of opening the pdf. Also, I noted here that a new pdf is created on the local PC and then it downloads from the server to that pdf rather than opening the PDF.
    Pls. send me the code to open a pdf file from jsp.
    Tons of Thanks in advance......

    Don't use the browser's back button to edit a message. Use the edit button. Otherwise you're going to repost the form.
    Continue here: [http://forums.sun.com/thread.jspa?threadID=5333340].

  • How we can open pdf files in epic browser in English

    how we can open pdf files in epic browser in English
    message is appearing in epic browser during opening pdf files in browser " The adobreader /acrobat reader is running cannot be used to view pdf files , please exit and try again "

    I already fixed it. I never exited out of Firefox before deleting the mime file. it works now.

  • How to avoid the pdf file in browser cache

    i am opening pdf files through browser. After that same pdf changed their contents . after i open the pdf but it will not updated. Bcoz this file in cache . so how to avoid the cache store for pdf files.
    plz help me!!!

    the code is as bellow
    File fBlob = new File ("test.pdf");
    FileInputStream fIS = new FileInputStream(fBlob);
    pstUpdate= con.prepareStatement("UPDATE table set file = ? where id = ?");
    pstUpdate.setBinaryStream(1, fIS, (int) fBlob.length());
    pstUpdate.setString(2, rs.getString("id"));
    pstUpdate.execute();
    con.commit();

  • ?? I cannot open PDF files ?? Adobe Reader 8, Windows Vista, Firefox Browser ?? help ??

    ?? I cannot open PDF files ?? Adobe Reader 8, Windows Vista, Firefox Browser ?? help ??

    Why the question marks? Can you open PDF files or not? You don't need Firefox to open PDF files.

  • What can I do to rectify the situation in which Firefox will not open pdf files in the browser, even though I have already used all the help suggestions to no avail?

    I have tried everything Mozilla has suggested. Still when I click on a pdf, I get the message that the browser cannot open a pdf. I have gone through the help protocol, and it does not work.
    I have uninstalled Firefox and reinstalled it, and still not able to open pdf files within the browser.
    What else do I do, except go to IE or Chrome and just leave Firefox completely???

    A possible cause is the presence of a PDF plugin from an older Adobe Reader plugin in the plugins folder in the Firefox program folder.
    See [[Troubleshooting plugins]]
    See also:<br />
    http://kb2.adobe.com/cps/405/kb405461.html - The Adobe Acrobat/Reader cannot be used to view PDF files in a browser<br />
    http://kb2.adobe.com/cps/836/cpsid_83688.html - I can’t view a PDF document in my web browser<br />

  • Strange question mark error while opening pdf files in adobereader from SAP

    Hi Gurus
    We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button.
    This issue occurs few times a day
    This issue does not occur in Windows XP.
    Since past few weeks, we have been trying to find some error/warning/atleast some text in log files of SAP, OS, Adobe Reader, Registry entries, Event Viewer. So far, we have not found anything.
    SAP is not able to help as this issue occurs intermittently and said when they tried, the issue did not occur. They made two attempts and in each attempt they tried 10 times to reproduce the issue. This issue occurs intermittently.
    Environment
    SAP R/3 4.7 EE SAP_Basis 620 Support Package 61
    Windows Vista Enterprise
    Adobe Reader 9.0 and Adobe Reader 9.1 (tried with both versions)
    SAPGUI 710 Patch 12 (latest patch). It also occured in Patch 11. 
    Please suggest
    Thank you
    Pavan

    Thank you for the quick reply.
    We tried many notes from Service Market Place. Also, Windows Team is in contact with Adobe.
    As per Adobe's suggestions, we tried changing preferences of Adobe Reader. We think it might be a problem with SAP Frontend.
    Present status - Issue still exists. nothing works.
    Thank you

Maybe you are looking for