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

Similar Messages

  • 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

  • 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.

  • 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.

  • 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.

  • 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.

  • Opening a file after typing its name from command line?

    OK it's been a real long while since I did any Java hacking, how can I do this again?
    Here's some source I have from a book.
    //ReadTextFile.java
    // open the text file
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    public class ReadTextFile
    private Scanner input;
    // enable user to open file
    public void openFile()
    try
    input = new Scanner ( new File ("myfile.txt"));
    } //end try
    catch ( FileNotFoundException fileNotFoundException )
    System.err.println( "Error opening file.");
    System.exit(1);
    } // end catch
    } // end method openFile
    // read records from file
    public void readRecords()
    int callID;
    try
    while (input.hasNext() )
    callID = input.nextInt();
    System.out.println(callID);
    } // end while
    } //end try
    catch ( NoSuchElementException elementException )
    System.err.println ("File improperly formed.");
    input.close();
    System.exit(1);
    } // end catch
    catch ( IllegalStateException stateException )
    System.err.println ("Error reading from file." );
    System.exit(1);
    } // end catch
    } // end method readRecords
    // close file and terminate app
    public void closeFile()
    if (input != null )
    input.close();          // close file
    } // end method closeFile
    } // end class ReadTextFile
    //ReadTextFileTest.java
    public class ReadTextFileTest
    public static void main( String args[] )
    ReadTextFile application = new ReadTextFile();
    application.openFile();
    application.readRecords();
    application.closeFile();
    } // end main
    } // end class
    So at the command line I wanna do "java ReadTextFileTest openthisfile.txt" or whatever and have it open and read in some stuff from that file instead of hard coding it into the input = new Scanner ( new File ("myfile.txt")); line in the ReadTextFile.java
    I'm sure it's pretty simple but like I said, very rusty.

    Yeah I figured it out by just passing args[0] into the openFile method. I dunno what was wrong with my brain yesterday, I was typing arg[0] instead of args[0] and not seeing it. One of those days.

  • Is it possible to open an folio at a specific page from external link using URL scheme?

    We want to link into a folio from another app we are creating.   We can open the Viewer app with the URL scheme we define in the app (e.g. com.name.app ).   However this always opens the app on the home screen.
    Ideally we'd like to link into a specific folio or even page within the folio.  Is this possible by using some sort of querystring/identifier/anchor on the end of the URL scheme?

    Yes, its possible but officially not supported and is not fully tested. Check DPS Tips App by Bob Bringhurst (https://itunes.apple.com/in/app/digital-publishing-suite-tips/id436199090?mt=8)
    Download the Advanced Overlay folio and check "Buttons & Linking" - Slide 2

  • How to open a pdf at specific page from EXCEL hyperlink

    I can open a .pdf from EXCEL using hyperlink. May I ask, if ever possible, how to open a .pdf at a specific page from EXCEL hyperlink ? I don't mean open a pdf then click on a bookmark or enter a page number. (I am using Adobe Reader v9.5.2 and MicrosoftOffice Profession Edition 2003.)

    Hello,
    The parameters that can be used in the URL when opening a PDF document are
    described in the document :
    Open Parameters for PDF
    http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf
    Regards

  • How to extract specific pages from a PDF

    Hello. I'm using Windows XP Pro on a custom PC with Adobe Acrobat 8.0. I work for a small magazine (abqarts.com) that publishes its online version in PDF format which is created by our production dept. I need to extract specific pages from the magazien as PDFs to send to a client. Tried to look up how in the Help file but I think the termonology is defeating me.
    I can load the magazine's PDF into Acrobat, but can't manage to save, print or export two pages and the cover as individual PDF files. I'd sure appreciate some help.
    Thanks,
    Peggy

    Graffiti, thanks for your quick response! When you say "open the pages view" that's the drop-down View menu, right? Then I select Page Display but don't know which one to chose after that. Single, two-up etc.
    And Control>click on a page selects an image on that page--not the entire page, which is what I want.
    That said, I'm way happy you pointed out Document>Extract Pages. That works great for me, one page at a time. Maybe I don't need the other things clarified because I can use this one, but I'd like to get working all the tips you provided.
    Gratefully,
    Peggy

  • 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]

  • Is Acrobat Pro right for us. We have an Employee Handbook that needs editing. Some is current pdf, some from an older version. Want to get all into one handbook, have the table of contents automatically adjust and link to specific pages from the ToC.

    Is Acrobat Pro right for us. We have an Employee Handbook that needs editing. Some is current pdf, some from an older version. Want to get all into one handbook, have the table of contents automatically adjust and link to specific pages from the ToC.

    You can download the trial version (http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html) to convert the PDF back to WORD if you do not have the original. The conversion may not be perfect, but it is typically better than starting from scratch. You may be lucky and get a good result. You might check the settings (in the save screen) to try retain format versus retain text flow. The format version can be a pain to edit since it creates a bunch of text boxes. The flow version may require you to reformat in WORD, but you likely would want to do that anyway.

  • Use XMLP to pull only specific pages from larger PDF template?

    We need to be able to pull specific pages or a range of pages out of a larger template to use to merge data into and return to users or the selected delivery method. I've seen a lot of information about how to add page numbers to PDF templates / documents, but nothing about how I can pull out specific pages. We know this can be done using iText or some other technology, but does anyone know if this can be done using XML Publisher at all? This is a big issue for us and could determine whether we end up using XMLP at all or go with something else. Any info would be helpful.
    Thanks!

    Hi
    Publisher is not currently capable of pulling out specific pages from a given PDF,.
    Regards, Tim

Maybe you are looking for

  • How to Reorganize CSM200 Shared Storage in Solaris 10 x86 Oracle 10gR2

    I could use some guidance from those who are more experienced in RAC administration in a Solaris environment with ASM. I have a three-node RAC with Oracle 10gR2 instances on top of Solaris 10 x86 where the shared storage is a Sun CSM200 disk array wh

  • How to recognize the tab key in a JTextField

    I have a drawing program with a main window and a tools palette, which is a JDialog. The tools palette has JToggleButtons and one JTextField. When you have the focus in the JTextField and you press tab repeatedly, it tabs through all the JToggleButto

  • Background noise with electric guitar

    Hi, I'm playing my les paul into a cheap (like $100) m-audio fast track interface, and picking up the signal with the usb on my macbook pro. I am using the audio port to send the signal to my line 6 amp. I am quite sure i have set all the necessary s

  • Flash Uploader not working properly

    My flash uploder doesnt seem to work properly when uploading to sites like youtube, mediafire or just any website which uses the flash uploader. In certain places the files do upload but without any animation (bar filling up, %, etc.) but in others t

  • MHT files cannot be sent using Eudora email - buffer overrun error

    Previous Firefox versions allowed quick email forwarding of website url addresses. The current version defaults to generating an MHT file and when Eudora 7.1 is selected as the email preference, the following error message appears: " Buffer overrun d