I'm trying to help a friend making the automation for some tasks on InDesign.
He want's to print the document as a booklet (he's making books), but seems like he can only print as a PostScript Printer... and then use Distiller to transform it to PDF.
So... first thing first...
I'm trying to:
This works but... asks me where I want to save and what name I want to give to it.
I wanted to automate this completely... because I need to print it twice (the book is composed of 2 booklet printings).
Is it possible to use app.activeDocument.printBooklet(); (or other instruction) and print it wherever I want with the name I want (I would have to make some kind of rule).
I tried app.activeDocument.printBooklet(false); but seems to be "lost in the air".
Can anyone help me? Do you need the whole code or is this enough to understand what I need?
Many thanks for the help.
Current printer supposed to be defined as postscript and
app.activeDocument.printBookletPrintPreferences.printFile = File("fullPathToFile.ps");
as many times as you want before calling printBooklet(false, yourPreset)
That looks good.
I confess I already tried to look into something in that direction, but that property just slipped me... I do have some experience in programming/scripting, but I'm kind of new to this particular environment and some things take a little more time.
I'll have a look at it tonight... and then I'll tell you how it went!!
Thanks a million!!
I've just tested and it works!