"Print pages" command no longer works in Acrobat 7 ?

A simple script that worked in Acrobat 6 no longer works in Acrobat 7. It chokes on the “print pages” command. I found an unanswered query in the forum archives from another user who had this problem. The script is as follows:


tell application "Adobe Acrobat 7.0 Pro#A13F2" 
activate 
tell document 1 
print pages 
close 
end tell 
end tell 

The AppleScript dictionary entry is identical in versions 6 and 7, so this must be a bug? Has anyone else experienced this? Is there any other method to script the printing of PDFs in Acrobat 7?

Many thanks,

–Stephen

I had the exact same issue… I got around it by gui scripting it.

For folk who stumble on this tread, there is a fix. You just need to be more verbose when setting print pages options. I saw the fix at the foot of the following thread:
http://bbs.applescript.net/viewtopic.php?id=17469

Nice one chuckles66! :lol:


tell application "Adobe Acrobat 7.0 Professional"
tell active doc
print pages active doc PS Level 3 without binary output and shrink to fit
end tell
end tell

:smiley: