Results 1 to 8 of 8
  1. #1
    2 Star Lounger
    Join Date
    Dec 2001
    Location
    Houma, Louisiana, USA
    Posts
    100
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Open Adobe Reader automatically

    I've seen web pages where you click a button to open a PDF file and it changes the browser window to an Adobe Reader window. I'm not very familiar with web design, but I want to do something like that. I tried linking to a PDF file, but it opens a download window, which will then allow you to open Reader. I want to skip the step with the download window and just force Reader to open. Is that something too complicated for a newbie like me to handle?

  2. #2
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Newark, New Jersey, USA
    Posts
    800
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Open Adobe Reader automatically

    If you already have Adobe Reader on your machine it should just open. If you don't already have it on your machine then it will ask you to download it. It's free to download, very well respected and widely used so no one should have a problem downloading the newest version from http://www.adobe.com.
    have fun
    <IMG SRC=http://www.wopr.com/w3tfiles/33-312966-ldywolfsig.jpg> <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18>
    Moderator
    www.theladywolf.com

  3. #3
    2 Star Lounger
    Join Date
    Dec 2001
    Location
    Houma, Louisiana, USA
    Posts
    100
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Open Adobe Reader automatically

    Thanks for your response Wolfman. I already have Adobe Reader installed. The download window is for deciding what to do with the PDF file.

    I think I worded the post badly. I just noticed that the link works differently depending on which computer I try it from. On computer ONE, when I click the link to the PDF file, it gives me a download window with the options: Open, Save, Cancel, More Info. On computer TWO, the same link on the same page opens Adobe Reader from the same IE window. I suppose there's some setting somewhere that makes the individual computer decide whether to open in the SAME IE window, open in a NEW IE window, or bring up the download box to Open, Save, Cancel, More Info.

    This is for an application to be used on a local intranet. Does this mean I have to go and change the settings for PDF files on every computer on my network? If so, which setting is it?

  4. #4
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Open Adobe Reader automatically

    I'm fairly certain this is a setting controlled by Acrobat Reader, not the files themselves.
    Run a search in the IE forum for 'acrobat' and it should show up there somewhere (I think it is under Acrobat's Preferences)

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Open Adobe Reader automatically

    <P ID="edit" class=small>(Edited by jscher2000 on 02-Jun-04 11:11. )</P>To add to Leif's comment:

    1. <LI>Whether a PDF opens in the browser window or in Reader is determined by a setting inside the Reader.

      In version 5.1, the user can set this under Edit>Preferences...>Options "Display PDF in Browser" (not sure about Reader 6). I believe display in the browser is the default.

      Note: IE's security settings can interfere with the automatic display of the PDF in the browser. If "Run ActiveX controls and plug-ins" is set to Disabled for the applicable security zone, instead of seeing your document, the user will see a little icon or other indication that the control was not loaded. If the setting is set to Prompt, the user will get the Yes/No prompt "Do you want to allow software such as ActiveX controls and plug-ins to run?"

      <LI>If the user turns off "Display PDF in Browser," then the question of whether Reader fires up immediately or one has to click through the Open/Save dialog is controlled by a setting in Windows Explorer's File Types dialog for PDF files.

      In Windows XP, the user can set this under Tools>Folder Options...>File Types>PDF>Advanced... "Confirm open after download". I don't recall the default for PDF files.
    If this gives you the idea that basically the web site owner has little or no control over the user's experience, that's probably quite true!

  6. #6
    2 Star Lounger
    Join Date
    Dec 2001
    Location
    Houma, Louisiana, USA
    Posts
    100
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Open Adobe Reader automatically

    Thanks Leif and jscher. I see exactly what you're talking about. The Adobe Reader preferences and PDF file type options control everything.

    Now I need to figure out if I can make a button that will open the pdf file.

  7. #7
    5 Star Lounger jujuraf's Avatar
    Join Date
    Jun 2001
    Location
    San Jose, California, USA
    Posts
    1,061
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Open Adobe Reader automatically

    Actually putting a button to open a PDF still won't solve the problem you're seeing. As the other replies described, the 'problem' is not solveable by you as the web page author. It's a setting controlled by the user which you do not have access to. There are many such settings which are not under your control as a web author and for good reason. People would be highly irritated if everytime they went to a given web page it changed some setting on their computer. While it would make your life easier as a web developer, these are the limitations and it's why web development is different from developing stand alone programs that live on the user's computer (like Word or Quicken or Notepad).

    A web page, for example, can suggest a certain font and font size, but whether or not that's what the user actually sees is entirely up to the user and their browser settings.

    Deb <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>

  8. #8
    2 Star Lounger
    Join Date
    Dec 2001
    Location
    Houma, Louisiana, USA
    Posts
    100
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Open Adobe Reader automatically

    Thanks for your reply Deb. I have accepted that I can't control exactly what happens when a user opens the PDF file and I'm OK with that.

    I also wanted to add that I was able to find the code I needed to get the file to open by using a button thanks to a post by someone somewhere on this site who gave a link to the javascript.internet.com web site . [img]/forums/images/smilies/smile.gif[/img]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •