3 Replies Latest reply on May 27, 2010 6:48 AM by SuperMacGuy

    Using Print Pages command

      I'm working w/Acrobat Pro 8 & Applescript trying to print a PDF w/o user interaction. Here's the script I'm using:

      tell application "Adobe Acrobat Professional"
      activate
      open "Public:testfolderaction:DetailsClassDisplay.pdf"
      -- line below has been tried with & without the various qualifiers
      print pages document "Public:testfolderaction:DetailsClassDisplay.pdf" first 1 last 1 PS Level 1 with binary output and shrink to fit
      end tell

      Every time it runs it generates the error:

      Acrobat got an error: document "DetailsClassDisplay.pdf" doesn't understand the print pages message

      What am I doing wrong? Any suggestions?