It's pretty simple. To print the active doc, all you need to do is:
So you could just string a few of those lines together with all your
presets and save as a script.
If you change the "false" to "true", you'll get the print options dialog
popping up each time.
Thank you! This is a great start. If I wanted to do the same using the Print Booklet option, would I simply change app.activeDocument.print to app.activeDocument.printBooklet? Or would I have to change the rest of the coding as well in order for it to work properly?
Just change to printBooklet as you say. Looks like it should work... Same business with the false and true, just this time the printBooklet dialog.
I just tried it out. While it does produce a final product, the results look a bit off from the previous; specifically, the marks and bleeds. Also, not all of the pages/spread printed.
Could it have something to do with the printerPreset being set in the printBooklet screen as opposed to the print screen? Both of these dialog box allows you to preload a printerPreset.