Opening specific Pdf pages in Terminal?

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

  1. onzai macrumors newbie


    Apr 15, 2008

    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


    Jan 9, 2004
    Grand Rapids, MI, USA
    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