Opening specific Pdf pages in Terminal?

Discussion in 'Mac Basics and Help' started by onzai, May 1, 2009.

  1. onzai macrumors newbie

    onzai

    Joined:
    Apr 15, 2008
    #1
    Hello,

    This has been bugging me for a while. Is there a command line argument that I can use to turn to a specific page in a Pdf file either through Preview or Acrobat Reader? In Windows, this works easily (for example: Acrobat.exe /A "page=123", "foo.pdf"), but I've looked everywhere for a Mac equivalent with no luck. I would like to avoid using programs like Pdftk that involve copying pages into newly created Pdf files. I would simply like to open to a specified page.

    Thank you
     
  2. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #2
    Huh, that's an interesting one. So the Acrobat executable doesn't have command line options, I take it, in OS X?

    One possibility, although somewhat more complicated than what you were doing in Windows, might be to embed an Appletalk script into your terminal script. Appletalk should be able to tell Preview to go to the desired page.
     

Share This Page