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

Similar Messages

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

  • 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

  • How do I open a .pdf file that I transferred to the ipod touch 5 using Itunes?

    How do I open a .pdf file that I transferred to the ipod touch 5 using Itunes?  It is shown in the Adobe Reader Documents window on Itunes. All help greatly appreciated!

    Is it not showing up in the documents tab when you open Adobe Reader?

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

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

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

  • How to initialize consumer from supplier via the command line ?

    We have a small directory that gets loaded from scratch every night.
    We also setted up replication to a couple of consumers (read only).
    The problem is that since the data is loaded everynight, we get compliants in logs "Replica has a different generation ID than local database"
    I can initialize the consumers via the gui. But how to do it from the command line from the master ? I know that an option is to do a db2ldif and then an ldif2db on the consumer but it's not an option for us.
    I also tried setting the nsds5beginreplicarefresh to start, but that doesn't seem to do a full init.
    There must be a way, as the gui actually does it.
    TIA

    Basically it's very simple. Supposing your replication is already setup and you reload data to your master. If you want the initialization pushed to all the replicas automatically, you can simply setup a flag in all the agreements. This flag is called nsDS5BeginReplicaRefresh.
    Please check the link:
    http://docs.sun.com/source/816-6699-10/confattr.html#18194
    nsDS5BeginReplicaRefresh
    Allows you to initialize a replica. This attribute is absent by default. However, if you add this attribute with a value of start, the server reinitializes the replica and removes the attribute value.
    Property
    Value
    Entry DN
    cn=ReplicationAgreementName,cn=replica,cn="suffixName",
    cn=mapping tree,cn=config
    Valid Range
    stop | start
    Default Value
    N/A
    Syntax
    DirectoryString
    Example
    nsDS5BeginReplicaRefresh: start
    Please note that this value is absent by default and will disappear whenever initialization to replica finished. Next time whenever you want it to happen again, use ldapmodify to set this flag up.
    Also, if you want this happen to all the master's replicas, you have to setup for all the agreements.
    I already tested and it turns out very magic.
    So what you should do is whenver your master get reloaded, when it gets finished, call ldapmodify to set the attribute to be "start".
    Hope it helps!

  • 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

  • Open PDF document to a specific page via a

    I know if you can open a PDF to a specific page by using the PAGE parameter when you open via ACROBAT. I want to be able to do the same thing via the anchor tag &lt;a&gt;. How can you do it?
    For example, I have html in my region source:
    Refer to the <b><a href="javascript:popUp2('#APP_IMAGES#FD User Guide.pdf')">System User Guide</a></b> on how to use all the features ...I also have it in URL target of a list region:
    javascript:popUp2('#APP_IMAGES#FD User Guide.pdf')The customer wants to be able the user to go automatically to page 53, for example.
    Can someone please help ASAP?
    Robert
    http://apexjscss.blogspot.com

    All,
    I found my answer. You just need to append "page=+page_number+* to the filename.
    Robert
    http://apexjscss.blogspot.com

  • How can I start a second window of a second profile through the command line?

    I have two profiles set up, 'default' and 'second'. If both are already running how can I start a second window of profile 'second'?
    firefox -p 'second' : opens a new window of the default and,
    firefox -p 'second' -no-remote : tells me that firefox is already running.

    I don't think that this is possible.<br />
    You need to open this second instance (Firefox profile folder) with the -no-remote command line switch and that makes it impossible to open external links via the command line or via a double-click.<br />
    You can only open a link in such an instance by dragging the link on the tab bar of that Firefox window.

  • How can I open a PDF into an iBooks folder other than PDF folder?

    How can I open a PDF directly into a folder in iBooks other than the PDF folder?  I have different folders made and am currently having to open into the PDF folder and then move to the correct folder. Can I open directly into the needed folder? 

    No, I don't think so. The pdf isn't capable of knowing which folder you would like it to open in – all it knows is that it is a pdf. It's up to you to put it in the appropariate folder.

  • How can i open a PDF bank statement in numbers so that the rows and columns contain properly aligned data from statement?

    how can i open a PDF bank statement in "numbers" so that the rows and columns contain properly aligned data from statement?

    Numbers can store pdfs pages or clippings but does not directly open pdf files.  To get the bank statement into Numbers as a table I would open the bank statment in Preview (or Skim) or some pdf viewer.
    Then hold the option key while selecting a column of data.
    Then copy
    Then switch to numbers and paste the column into a table
    Then repeat for the other columns in the pdf document
    It would be easier (in my opinion) to download the QFX or CSV version from your bank

  • How can I open a PDF file and enter a word in the Find field from the command line?

    Hi,
    I want to use a PDF file as the help file of another program.
    I have found somewhere an incomplete description of the command line parameters of Acrobat Reader.
    It described how to open a file and jump to its given page.
    I have written the following batch file based on that.
    rem Open pdf (prm1) with Acrobat reader at given page (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&page=%2=OpenActions" %1
    The following batch file opens the search dialog:
    rem Open pdf (prm1) with Acrobat reader
    rem and search for something (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&navpanes=1=OpenActions&search=%2" %1
    I need the simple find field instead of the complicated search window.
    Regards
                   Ferenc

    Not possible.

  • How can I open excel pdf files

    How can I open excel pdf files

    Hi mmart1957,
    Do you have Excel files, PDF files, or PDF files that have been converted to Excel? If you're working with PDF files, you'll need either Reader or Acrobat to open the files. If you have a converted Excel file, then you'll need Excel to open it.
    Best,
    Sara

Maybe you are looking for

  • How many calendars can you share with the same iCloud person?

    OK Apple people, here is my concern: I have several calendars in my iCal app.  I can share one (home) with my wife but for some reason, I am not able to add her to another calendar that I wish for her to  view/edit (work).  She does have an iCloud ac

  • I-tunes 7.7.1 only plays one song at a time

    Hi, help me please. My i-tunes is now only playing one song at a time, the song will end and i-tunes stops. It will not move onto the next song even when I've got the song as part of a gapless album. This has just happened, it used to work fine befor

  • Can't get Vaio to acess network

    Hopefully someone can help me out. I have an airport express that has been working fine with my mac. My roomate has a Sony Vaio. When she tries to access my network it says that it is the incorrect login information. But I am positive I have been typ

  • Captivate to IPOD

    Hello, please forgive me if this question is posted elsewhere. Is there a way to convert a Captivate interactive training module to an IPOD and keep the interactivity? Just looking at some other ways to incorporate training. Thanks

  • Would this ram fit into my macbook pro 15inch i5?

    http://www.memoryexpress.com/Products/MX36931 Also, would somebody do a search on that site for ddr3 ram and recommend me something?   Im looking for 16gb ram. The prices are awesome on there it think.  Thanks for your help.