PDF file opens in a browser window.

I am creating a page in Dreamweaver that has a bunch of links that contain animations. The animations were created first in Powerpoint then saved as a PDF file so the user would still be able to perform the animations yet keep them from being copied.
When you click on the link to the PDF file the file opens in a web browser with the browser menu bar and I cannot see the PDF menu bar at the top like "FILE, EDIT, VIEW, DOCUMENT, COMMENTS, etc.
How do I get the file to open and still be able to use the menu bar at the top?
Thanks for your help.
Pat

You can't control that, it is determined by the visitors browser configuration and whether or not they have a PDF browser plugin. In your case, it sounds like you don't have the Adobe PDF plugin for the browser you are using. You might want to try reinstalling Adobe again. This shouldn't be a problem for most visitors. What browser are you using?

Similar Messages

  • Open PDF file in a new browser window

    I have a PDF file on the harddrive and I call a function from BalusC :
    public static void downloadPDF(FacesContext facesContext, String path, String fileName)
    util.Logger.append("Path = " + path );
    util.Logger.append("file name = " + fileName);
    ExternalContext externalContext = facesContext.getExternalContext();
    HttpServletResponse response = (HttpServletResponse) externalContext.getResponse();
    File file = new File(path, fileName);
    BufferedInputStream input = null;
    BufferedOutputStream output = null;
    try
    //open file
    util.Logger.append("1");
    input = new BufferedInputStream(new FileInputStream(file), 10240);
    //Init servlet response
    util.Logger.append("2");
    response.reset();
    util.Logger.append("3");
    response.setContentType("application/pdf");
    util.Logger.append("4");
    response.setContentLength((int)file.length());
    util.Logger.append("5");
    response.setHeader("Content-disposition", "inline; filename=\"" + fileName + "\"");
    util.Logger.append("6");
    output = new BufferedOutputStream(response.getOutputStream(), 10240);
    util.Logger.append("7");
    //write file contents to response
    byte[] buffer = new byte[10240];
    int length;
    util.Logger.append("8");
    while ((length = input.read(buffer)) > 0)
    output.write(buffer, 0, length);
    util.Logger.append("9");
    //finalize task
    output.flush();
    util.Logger.append("10");
    catch (IOException e)
    util.Logger.append("reporting.Utilities :: downloadPDF :: " + e.getMessage());
    finally
    util.Logger.append("finally");
    close(output);
    close(input);
    //inform JSF that it doesn't need to handle response
    //this is very important, otherwise you will get the following exception in logs:
    //java.lang.IllegalStateException: cannot forward after response has been comitted
    facesContext.responseComplete();
    private static void close(Closeable resource)
    if (resource != null)
    try
    resource.close();
    catch (IOException e)
    e.printStackTrace();
    This works like a charm, but the problem is that the PDF is opened in current window instead of a new one. I checked posts on this problem on this forum but i haven't found any answer to my problem. As you can see i added some 'idiot' logs just to make sure i have no errors. I see them all in my log file and there is absolutely no error. I simply see the PDF in the same window.
    Can anyone help me, please?
    Thank you.
    (Pls tell me if you need any other information)

    My problem is that the parent form has 4 buttons and a grid.
    3 buttons are Add/Edit/Delete for records in the grid. Only the 4th button is the Print report and this is the only one i need to open in another page.
    Even if I create another page and I navigate to it, setting target of newly created page to open a new window will bring me the problem of having 2 windows to close once users wants to close the PDF which is kind of awkward.
    What is your advice?
    Thank you
    Marius

  • We use a plugin Adobe Acrobat NPAPI Plug-in Version 10.1.2 on a Mac to get the pdf to open in a browser window. Is there a later version or other method ?

    We use a plugin Adobe Acrobat NPAPI Plug-in Version 10.1.2 on a Mac to get the pdf to open in Acrobat and the pdf display within the browser window, as within our Online artwork Approval system we use the Acrobat Annotations server to annotate pdfs and publish to the server
    But we can no longer get this plugin to work! Is there a later version ? or is there another way of forcing the pdf to open in a Acrobat Reader application (not the Mac viewer) within the browser and not open another window to display the pdf in Acrobat?

    The latest version is 11.0.6. Whether that's available to you depends on the version of Mac OS you're running.
    * http://get.adobe.com/reader/enterprise/
    See the following articles.
    * [[PDF files are blank or cause an error message on Mac]]
    * [[Use the Adobe Reader plugin to view or download PDF files]]

  • Have PDF links open in new browser window.

    Hello. I'm new to creating PDFs with active links. I created a PDF that is linked within a page. When that link is clicked it opens up the PDF in a new window. I want the links in that PDF to open up in a new browser window. Is that possible? I don't see the option in Adobe Acrobat XI Pro.
    I have another question. The links don't work at all in mobile devices. Is there something I have to do to have the links work in an iPad, iPhone, etc?

    Is the link an HTML link, or within a PDF? Is it a URL link or a file link?

  • Forcing pdf to open in current browser window

    I have a pdf (that is to be viewed through a browser) with
    links that open other pdfs. Currently, when I click on the links in
    this pdf, they open the linked pdfs in a separate browser window.
    Is there a way to force it to open in the same window and just have
    users hit the back button to go back to the previous pdf?
    Thanks!

    The latest version is 11.0.6. Whether that's available to you depends on the version of Mac OS you're running.
    * http://get.adobe.com/reader/enterprise/
    See the following articles.
    * [[PDF files are blank or cause an error message on Mac]]
    * [[Use the Adobe Reader plugin to view or download PDF files]]

  • .Pdf files open in"Western European Windows" format but are unreadable( This is repeat as apparently my first was recevied buy I can't activate the link you gave me)

    ''locking as a duplicate - https://support.mozilla.com/en-US/questions/809117''
    I have Adobe 10.0.01.When I try to open .PDF files received in Microsoft Outlook I get an "opening mail attachment" window saying only opne from trusted sources . when I continue I get another window saying Windows default with a language selected as Western European and the display of the file is essentially "gibberish" of apparently numbers and characters. hope this gets to you OK this time

    See also [/questions/809183]

  • Hyperlinks in PDF to open in non-browser window

    Hi there,
    First off, this is what I want to achieve, if possible:
    1.     Create Word document with hyperlink linking to, predominantly, image files;
    2.     Save this as a PDF
    3.     When clicking on an image link (hyperlink), e.g. test.jpg it should open the client's default image viewer software and NOT a browser, e.g. Paint or Photoshop or whatever they're using...
    Is this possible?
    Then... would it then be possible, somehow, to edit the opening of this link so that it either resizes the on-screen panels so that it shows side-by-side, OR open the image on top of the PDF document?
    Thank you so much for any help!
    Regards,
    W

    i'm not sure what this means:
    app.launchURL("http://www.google.com", true);

  • HTML Container - pdf-file opens a new window

    I use the ITS Webservice PZ04.
    There is included a html container who shows the pdf-file inside this area.
    Now I have the effect, that this pdf-file will opena a new window, but not inside the html container!?
    First action before I have had this effect was the MS question-alert 'How you will open this file' Open/Download/Cancel - you know. - it never done before -
    What can I do to open my pdf-file inside the html container? It runs some times.
    Thanks!

    thank you for your answer, but it wasn't the solution.
    I don't open the iView in a new window.
    I open the iView (as IAC WebService via ITS) and the applacation generated a html container with pdf file!
    And this pdf-file opens in a new window.
    The Application runs up to now very good.
    I think any value was changed and I don't know which.
    It's possible the modification solved under MS or adobe!?
    Solution: First Deinstallation and then Installation of Acrobate Reader.
    Message was edited by: Ronald Kohn

  • Adobe Reader: PDF  to open a new browser or cross links?

    Is there a way when we click an image link within the PDF page on IE browser to open a new browser or cross link I've tried to uncheck the open cross links in same window, but it seems not working...is there another settings in the IE7 browser or in Adobe Reader8 I need to change??

    I´ve got the same problem.
    I want to open a link to a website from a PDF stored in MS Sharepoint. This PDF is opened in a browser window (IE7), and the link always open the linked URL in the same window.
    I tried to change the same options as you too, but nothing changes.
    I can't believe that there is no way to do such a simple thing.
    Could anyone tell us if exists a way to include some option in the link like the "target='_blank' in HTML?
    Thanks in advance.

  • File Open Issues - document library pdf file to open in new browser window

    Hi
    I have a requirement to open the document library containing pdf file to open in new browser window. So far I have tried following steps but could not get it to work.
    1. Changing Document library advance setting to open the document in browser (have tried others as well).
    2. SharePoint web application setting changed as Permissive instead of Strict. Here the pdf file opens in browser but redirect from document library instead of new window(Also tried adding Target=”_blank” and no change).
    3. Executed the powershell script to adding MIME type to see if it works but no change.
    $webApp = Get-SPWebApplication http://SharePointSite
    If ($webApp.AllowedInlineDownloadedMimeTypes -notcontains "application/pdf")
    Write-Host -ForegroundColor White "Adding PDF MIME Type..."
    $webApp.AllowedInlineDownloadedMimeTypes.Add("application/pdf")
    $webApp.Update()
    Write-Host -ForegroundColor White "Added and saved."
    Else
    Write-Host -ForegroundColor White "PDF MIME type is already added."
    4. Open the Doc library and modified ALLItems.aspx to add Target= “_blank”
    5. I have already tried solutions suggested in the link:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/530e2ea1-d77d-491c-935f-04f536e439a5/open-a-pdf-document-to-a-new-browser-in-the-document-library-web-part?forum=sharepointadminlegacy
    http://mindsharpblogs.com/todd/archive/2005/08/16/654.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/7b6091df-4657-4799-ba02-259ebd7e4b7c/pdf-doesnt-open-in-document-library?forum=sharepointadminlegacy
    Appreciate if there are any working solution from any of you. Many Thanks

    I found a solution which works only in the development. No idea when I compared, Browser MIME type is enabled, STRICT browser type is configured for web application. on the document library advance setting, default to open in new browser. Both configurations
    are identical but I am able to open pdf file in new window in my developing using jquery script
    http://blog.ithinksharepoint.com/2011/02/21/open-pdf-files-from-a-document-library-in-a-new-window/ but the same does not work on production server :(
    Any help experts?
    Thanks

  • Visual Studio 2013. Viewing a PDF file via the Web Browser control in Windows 8.1

    I am writing a Windows Forms application in which I need to view PDF files via the Web Browser control. When the control is given the Navigate() command, Windows takes over and asks which program I want to open the file with. All was fine with VS 2010 and
    XP. I have un-installed "PDF Complete", which was the default PDF viewer, but I now get asked for an alternative.
    Thanks in advance.
    Mike Saunders

    Hi Mike,
    It seems that we could use Internet Explorer to open a local .PDF file if it has the Adobe Reader. I doubt that the web control would be related to it. Like the MVP's suggset in the following thread, maybe it would be related
    to certain plug-in tools in your side like the adober reader.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/a717117e-41ae-4775-9c28-d5a1042b396e/pdf-is-not-opening-in-web-browser-control-in-vbnet?forum=vbgeneral
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • Opening a new browser window always puts a flv-file (0bytes of a youtube vid viewed earlier) on desktop. Firefox 18.02

    Opening a new browser window always puts a flv-file (0bytes of a youtube vid viewed earlier) on desktop. Firefox 18.02
    viewed the yuotube vid yesterday. deleted all the flv-files on the desktop.
    same thing today, a new window always puts the same empty file from yesterday.
    any suggestions?

    You can check the home page setting:
    *Tools > Options > General > Startup: Home page
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • Unable to open .pdf in Firefox 3.6.8 with Adobe Reader 9.3.3 installed. Error message is "The Acrobat/Reader that is running can not be used to view PDF files in a web browser."

    I am unable to open a PDF file in Firefox 3.6.8. Adobe Acrobat Reader 9.3.3 is installed. I get the error message "The Adobe Acrobat/Reader that is running can not be used to view PDF files in a web browser."

    You can get that error if there is still an old Adobe Reader plugin in the plugins folder in the Firefox program folder.
    C:\Program Files\Mozilla Firefox\plugins\nppdf32.dll
    See also http://kb.mozillazine.org/Adobe_Reader

  • Using browser javascript to copy selected text from a pdf file opened in Air app.

    I have posted this question on reader forum as well, but I think it is more suited here...
    I am trying to create a note-taking application in air. I want to extract selected text from pdf file as a string object or to the clipboard.
    Obviously, all pdfs in my local storage will not be scripted to recieve postMessages and act accordingly, and that is not practical either. So, my problem is, how can I copy the selected text in the pdf file (opened as an object in htmlloader within my Air app) to clipboard or directly in another control by say clicking a button in air application? I suppose, this is possible using javascript, however, I don't know which reader methods are exposed to the wrapper htmlloader control. In short, I want to execute app.execMenuItem("Copy") command through htmlloader javascript. Any alternate solutions are also welcome.
    This is similar to passing inbuilt commands/methods/functions (of adobe reader) to pdf-reader plugin embedded in a webpage via javascript. This is possible in IE where the pdf is rendered as activex object, and hence JSObject interface of pdf document/reader is accessible to the browser javascript. I have also read that this same JSObject is accessible to VB as interface for IAC, so as the Air is Adobe's own product, I was wondering if equivalent of JSObject is accessible to htmlloader control as well.
    Thanks in advance...
    Mits

    Thank you Thom for your reply...
    from
    http://www.adobe.com/devnet/acrobat/javascript.html
    ...Through JavaScript extensions, the viewer application and its plug-ins expose much of their functionality to document authors, form designers, and plug-in developers...
    As it is explicitly mentioned, that the functionality of adobe reader are exposed for plugin development, I thought someone here might have used external javascript to execute some safe methods in adobe reader. The functionality (i.e. external javascript interface-JSObject) is already available for VB programmers to develop IAC. Further, the Acrobat SDK example called "AcroPDFinHML" shows how one can embed a pdf-reader in a html page and execute some safe methods (like gotonextpage(), zooming etc.) in IE as ActiveX plugin. I have checked it myself for adobe reader 9, and it works perfectly, so there is no security issue as such to implement the same for another browser (like in my case, the htmlloader control in flex/air app).
    I intend to create a note taking application in air, where it is very much required that I should be able to copy selected text from various pdf documents, that are open in my app, and subsequently paste/collect/save the collected notes and process them afterwords (offcourse, from the pdfs that allow me copying text). However, it is not happening for me here. As the pdfs are opened through adobe reader plugin, it does not register the copy command executed by my air app. It registers the system level copy command (by keyboard shortcut Ctrl+C), but my air app has no way to execute the system level copy command programmatically. So I am kind of stuck here...
    Thanks again for your reply. Having known what am I intend to accomplish, any other (may be alternative) solutions will be appreciated nonetheless...
    Mits

Maybe you are looking for

  • Download Window Does Not Close Upon Completion of Download

    I download a file, the Download Window opens, and asks where I want the file (I set that Tool-Option), but when it is done, the window does not close, even though the Option is set telling it to close when the download is complete == This happened ==

  • Powerpivot add-in installation issue "Could not find a part of the path"

    Hello,  I got a Windows Server 2008R2 terminal server with Office 2010 and Powerpivot installed. I have an issue for some users, not every user get this error. When trying to add the Powerpivot add-in in Excel the following error message is displayed

  • How to bring cursor in Table control??

    Hi to all How to bring cursor in Table control when entering into screen can anyone tell me??? pls explain with example.. thanks senthil

  • Partner determination for Intercompany Billing

    Dear Guru's, I have configured intercompany sales process and am facing difficulty in the billing part. When the Intercompany invoice is generated, the payer in this invoice should be the internal customer(the customer asigned to the ordering sales o

  • Best way to import already edited videos

    All I want to do is take a movie from my video camera that is already edited and convert it to a quicktime movie. The project is only 7 minutes long, but when I capture it, it slices it up into a bunch of files that still have skips when I put them i