Printing open pdf document through applescript

Hi,

I’ve my pdf document open in Actobat Reader. I’ve to print it through applescript. Any ideas? There is a sample with Acrobat SDK which prints on choosing the document through Open Folder box. I 've already opened document.

Thanks.

The following will bring up the “Print Window” in the front pdf document wherein you can select the printing “options” and then print the document.


tell application "Acrobat™ Reader 4.0" -- set to exact version of Acrobat in use
	activate
	Select Menu Item menu title "File" menu item text "Print..." -- requires the "Menu Events" scripting addition
end tell

Menu events osaxen is available at
http://osaxen.com/menu_events.html

Good Luck :smiley:

Is there any other way. I don’t need print dialog box. I want to make direct printing command.