Results 1 to 3 of 3
  1. #1
    shweta.ahuja is offline Member
    Join Date
    May 2008
    Posts
    1
    Rep Power
    0

    Smile Opeing multiple pdf files in different acrobat reader windows

    By clicking a submit button i'm calling a javascript in a jsp which uses "window.open" function and opens a jsp. In this jsp i call a function for opening a pdf file using
    "document.location.href". in this i have specified the URL to open this pdf.
    Now i want that if after this pdf is opened, i again chose some option and click the submit button and a second pdf to opened. But right now if i click the submit button the second time, the second pdf replaces the older one in the same wondow. I want that the second pdf to be opened in separate window.

    Actually the problem is that the pdf file is opening in the same Acrobat reader. I want that if i click the submit button second time or any number of times, it should open the pdf in different acrobat reader.


    Please help to get me some idea

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    rjuyal's Avatar
    rjuyal is offline Senior Member
    Join Date
    Mar 2008
    Location
    Delhi, India
    Posts
    194
    Rep Power
    7

    Default command line

    Try this

    AcroRd32.exe /n "path-of-your-pdf-file.pdf"

    /n is for new instance. :rolleyes:

    i guess it will work.
    i am the future

Similar Threads

  1. Please solve the problem related to PDf reader
    By kavithaprabhaker in forum New To Java
    Replies: 5
    Last Post: 11-23-2011, 10:08 AM
  2. A simple DOM reader
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-03-2008, 09:24 AM
  3. Windows ".exe" files
    By tim in forum New To Java
    Replies: 3
    Last Post: 12-28-2007, 09:25 PM
  4. how to convert mpeg files to .wav files
    By christina in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 04:14 AM
  5. help with file reader
    By jason27131 in forum New To Java
    Replies: 1
    Last Post: 08-01-2007, 03:03 AM

Posting Permissions

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