Use servlet to open a PDF at a specific page

Is it possible to create a servlet to open a PDF file at a specific page?
The equivalent of myPdf.pdf#page=12 but through a servelt using header of the response may be?

This is easier solved outside of Acrobat. For example, if your clients download the PDF from a website, add a form with the text and an "I agree" button before you provide them the link to the file. Or if you send it to them by email, first send them an email to which they need to reply before getting the PDF.

Similar Messages

  • How do I open a PDF to a specific page via the command line?

    Several questions about opening PDFs from the Mac OS X command line:
    1) How do I use the "open" command to open a PDF to a specific page? (I know I can open a document via: open doc_name.pdf)
    2) How do I use the "open" command to pass multiple arguments (page no, zoom scale, view mode, etc...) to open a PDF file in a specific manner?
    3) Does Preview handle the same parameters as Acrobat Reader? If not, what are the differences in options?
    I've spent hours searching for this answer and have come up dry. I've downloaded Adobe's "PDF Open Parameters" document -- it lists all of the parameters I need, however I can't get any of them to work from the command line.
    My goal: Open a PDF from the command line to a specific page. At first glance, I thought this would be simple to do and find -- however, after a lot of searching I haven't found an example on how to do it.
    Anyone have any experience doing this, and care to share?
    Much appreciated! ---> Kelsey

    I don't know of any way to do what you want using the 'open' command. It can probably be done with Applescript, which you could call from a shell script. The Preview application doesn't seem to be scriptable. I don't use Acrobat, so I can't tell you anything about that. Looking through the dictionaries of the apps I do have, it seems that Skim (another PDF viewer) has an AS 'page' class. Below are a couple of links that may get you started. Look for more specific guidance in Applescript forums.
    http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=AppleScript
    http://links.tedpavlic.com/shell_scripts/skim

  • How do you open a PDF to a specific page number in Safari 8.0?

    I'm using the command #page=33 to try to force Safari to open a PDF to a specific page number. While this works fine on just about every website browser, it doesn't seem to work in Safari. What am I doing wrong?
    Thanks!

    The problem is most likely with the Safari PDF plugin, which doesn't process the open parameters correctly. To be fair, though, this is not a part of the PDF ISO specification but something that Adobe implemented on their own in their PDF plugins, so other applications are not obliged to follow it.
    If you switch to using the Adobe plugin then it should work, even in Safari.

  • Do all versions of Adobe support opening a PDF to a specific page?

    I am looking to append a url with "#page=x" in order to open a PDF to a specific page. Do all versions of Adobe support this functionality?

    Well, we first have to define what we mean by Adobe.
    Adobe Reader and Adobe Acrobat do, not in all versions but in recent versions (the last decade or so).
    It works only in certain browsers, and only if the PDF is opened in the browser window NOT downloaded or opened separately.
    I assume you are aware that there are many non-Adobe PDF viewers (e.g. those built into Chrome, FireFox, Safari, and IE on Windows 8); each will have their own idea of what to do.

  • Open a PDF to a specific page from command line

    I want to open a locally stored PDF file to a specific page from the command line. I have seen examples of accessing web based files using http and the #page= parameter but this does not seem to work for a file stored on my local drive.  I want to be able to use VBA from MS Access to control the opening page.

    Hi cfwoodbury,
    When opening a PDF document from a command shell, you can pass the parameters to the open command using the /A switch with the following syntax:
    <Acrobat path> /A "<parameter>=<value>" "<PDF path>"
    For example:
    Acrobat.exe /A "zoom=1000" "C:\example.pdf"
    Regards,
    Rave

  • Opening a PDF in a specific page from a PDF created in indesign

    Hello, I'm working with CS4 and I need you to click on a button, or from a "hyperlink" in a text, open a pdf file but for a given page.
    I can not change the target pdf and also I have to access a single pdf into multiple pages, put an example
    persone one speaks at the pdf 1, on page 14
    person two speaking in pdf 1, on page 15
    I wish that when you click on the person 1 opens pdf 1 on page 14, and when you click on the person 2 opens pdf 1 on page 15
    Thanks in advance
    mateo

    Thanks, I had not noticed in the new dialogue coming out. Thank you very much. A greeting.
    Muchas gracias
    mateo
    Rectification
    ohhh, no, the page references are to an indesign document, not a PDF
    I have not indesign files where you created the PDF to which I have to jump and I can not add bookmarks to pdf, pdf files are protected.
    thanks

  • I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    Can you open the Preview program without loading a file, like by itself?
    If it doesn't load then I suspect a corrupt Preview preference file.
    Deleting the System Preference or other .plist file
    Can you open other files with Preview, like jpg's and images?
    How about other PDFs? or is it just that one you have downloaded?
    Run through this list of fixes
    Step by Step to fix your Mac

  • Setting a way to open a PDF to a specific section from HTML?

    I currently use InDesign CS4 to create technical manuals. And I have the latest Acrobat.
    We now want to create context-sensitive help from the same content. One way would be to export the content to XHTML. But I think I'd get better looking results if I could get the HTML to open the PDF to a named location in the PDF. For example, I'd like to add a tag called "Feature X" in InDesign that is retained when the PDF is generated, and then be able to add something like <src="mydoc.pdf" openAt="Feature X"> in the HTML. Then I'd hope to see mydoc.PDF open to the location of that tag (and not to page 1).
    Is such a capability available in inDesign? And if not in InDesign, then can the tag be added in Acrobat?
    Even if I cannot do this with a named tag, is there any way for HTML to open a PDF to a specified page? And can this be set up in InDesign so that I don't lose the location every time I generate an updated PDF?
    Thanks for any help,
    John

    In the PDF, create a distination, you can then add a parameter to the HTML link to the PDF to open the named destination.

  • New Mac, fresh install of Mountain Lion When I click to open a .Pdf from a web page,while in Safar, I get a black window Nothing opens in Preview or in Acrobat No option to download

    New Mac, fresh install of Mountain Lion
    When I click to open a .Pdf from a web page,while in Safar, I get a black window
    Nothing opens in Preview or in Acrobat
    No option to download

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy paste the following:
    /Library/Internet Plug-Ins
    Click Go. If you see this file:  AdobePDFViewer.plugin
    Drag it to the Trash, empty the Trash.
    Quit and relaunch Safari.

  • How do I open a pdf on a web page in Safari without Acrobat Reader?

    At the moment I have removed Acrobat Reader 10.3.1 because it conflicts with Safari. Preview is a perfectly fine pdf reader (and with lots of very nice features) but I don't see how I can make Preview open a pdf from a web page until it has been downloaded to file. And I have found at least one site that will not download to file before opening.

    Right-click in the PDF when it's displayed in Safari and select Open with Preview from the popup menu. Depending on how the PDF is embedded in the web page, this may not be possible.

  • LINK : open a PDF at a specific size (acrobat X)

    Hi all,
    I'm creating links between several PDF files.
    For some links, I open the PDF a new window (with regular link options).
    But, I need to open the pdf at a specific size, as a HTML/ javascript popup.
    Is ther a way to achieve this? 
    Many thanks in advance .

    Yes , the feature is available in Acrobat.Any section on a page can be defined as a named destination. The panel to do so is available through View->Navigation Panel->Destinations. Also there is a list of PDF open parameters which can be given in command line , one of them is nameddest. So if you select a section on the page and name it X, and give acrord32.exe /a nameddest=X filename.pdf, the focus would be on section X. These command line parameters are honored by both Acrobat and Reader but destinations can be viewed and added through Acrobat only. Needless to say, this would work even if the page number changes.
    Regards
    Sanika

  • How do I link a reference point in one PDF to a specific page in a different PDF? I want it to open link in a new window AT the specific page.

    I have a paper with multiple reference points that I need to link to 3 other pdfs. Each time I create a link in the master PDF, I need to open a file in a new window and point to a specific page in the other pdf. I cannot get it to work.

    Hmmmm, just tried that and used the magnify glass to capture the specific page in the second pdf, but when I tried the link, it doesn't open a new window, it sits within the original pdf and I can't go back to the page I need to. What am I missing/
    [email signature removed]

  • Opening a PDF to a specific paragraph in a browser?

    I create PDFs of software manuals with Indesign CS4. And I use Acrobat 9 to add features to the PDF.
    My question is whether it's possible to assign a tag to a piece of text in the PDF's content and then be able to have the PDF open to that tagged text in a browser based on the way the PDF is invoked in the HTML. For example, can I insert a tag "ToolBar" in a paragraph and then put something like <src="MyDoc.pdf" openAt="ToolBar"/> in the HTML in order to have the PDF open at that paragraph instead of the default page.
    If I can add the tags in InDesign all the better (because that way I don't have to recreate them for very new version). But if I can only add the tags in Acrobat, I'd still like to know.
    I'd even like to know if I can open  to a specified page number from the HTML, and not something anchored to text, like a tag.
    Thanks for any help,
    John

    Thanks for the reply. That sounds like exactly what I need. But I haven't yet gotten it to work, even though I've tried multiple variations on the exact syntax of the HREF. Details below:
    1. I have a PDF that was created in InDesign CS4 with a destination called: "dest_Mixer". That restination is currently on page 35.
    2. I exported a PDF and chose "Acrobat 8" as the compatible version (the highest version in the dropdown list).
    3. In Acrobat 9 Pro Extended, I viewed the Destinations and saw that "dest_Mixer" is indeed in the list.
    4. I created some simple HTML that includes the following PDF specification:
            HREF="C:/path/MyDoc.pdf#nameddest=dest_Mixer&pagemode=bookmarks"
    5. When I click on the link that should open this PDF, the PDF does open (and the bookmarks panel does appear, so I know IE7 is reading the whole URL, including the parameters).
    6. But the PDF still opens at the first page. I've tried formatting the URL in other ways, but the "nameddest" parameter never seems to affect how the PDF opens.
    In an online search, I found as recently as April of this year references to a bug where the PDF open parameter for "page=" is not always working as expected in Acrobat 7. Does anyone know whether there's a bug in Acrobat 8 and/or 9 that makes the "nameddest=" parameter ineffective?
    Or maybe someone can tell me that the HREF I provide above is not correctly formatted ... and how to fix it.
    Thanks for any help you can provide,
    John

  • Open PDF in a specific page from another PDF

    Acrobat vs8 - XP - Windows
    While in one PDF file, create a link to open another PDF file in the same folder - to a specific page number.

    Use the Link tool in Adobe Acrobat.

  • Open pdf at a specific page

    Hi,
    I want to directly open a pdf doc at a specific page in solaris from command line without using the service of a browser.
    Will appreciate any help in this regard.
    Thankx in advance

    Hmmmm, just tried that and used the magnify glass to capture the specific page in the second pdf, but when I tried the link, it doesn't open a new window, it sits within the original pdf and I can't go back to the page I need to. What am I missing/
    [email signature removed]

Maybe you are looking for

  • Change Work Center during production order confirmation

    Dear All, I must to modeling this situation: I created an production order. In routing I used an work center A. After I confirmed a half of quantity, the work center A was damaged and I must to change it, with the work center B. The system allow this

  • Dial Up Connection or lack of !

    I have been trying for several days now to establish a dial up connection at my mothers home without success. Both the BT Dial Up department and BT Fault reporting have been exceedingly helpful in trying to give assistance but the end result remains

  • HT1925 loading a cd into itunes

    itunes is not recognising a cd in my drive and i am not prompted if i wish to load the cd into itunes???

  • Flash.log error

    Our flash forms use flash remoting to access different data through cfcs, but recently they stopped working. I can see in the flash.log file a "Event Handler Exception" Error. Can some one please give me a hand with this?

  • HT1338 Face Time connection problem

    I keep trying to use face time on my macbook pro and it keeps saying "the server encountered an error processing registration. Please try again later." it has said this since I bought it. My face time works fine on my phone and ipad. What should I do