EdwardB
Well-known member
"Print Pages"? huh? why would I be printing pages and how would that work in any kind of automation?print pages 11-24? you can't with the check box of reverse pages I can.
"Print Pages"? huh? why would I be printing pages and how would that work in any kind of automation?print pages 11-24? you can't with the check box of reverse pages I can.
That's exactly what I do and I do it in acrobat. I have a script that does step 3. Steps 1 and 2 are native to the acrobat program.I re-read my scattered posts and did a poor job explaining it. It is more of a manual answer than automated too, but how often are you really doing this?
1. crop the printers spreads in from the left half way and save as the first half of the book.
2. crop second copy of book in from the right half way and print to a pdf file with the reverse page check box selected, creating the second half of the book, to a new file
3 combined the two pdf's for the complete book . works with any number of pages with software you probably have.
OK, could you try it again with the console? This time, after pasting the code, select all and press CTRL+Enter together?I've actually never used Javascript in Acrobat... and I've been using Acrobat Pro for decades at this point LOL
I have Javascript enabled now, and I've even tried restarting the application, but nothing happens when I paste it into the console and try to run it... nothing... not even a message. I'm checking with our senior systems admin to make sure they don't have any kind of script blocking... he says we have nothing enabled outside of browsers.
yeah, it worked! is there a way for it to not rename the new file as a temp file?OK, could you try it again with the console? This time, after pasting the code, select all and press CTRL+Enter together?
It should run the script that way.
I do, I might just create a variable and concatenate a save-as string. using sd.url + "\" + sd.info.title + "_pages.pdf"It seems that the closeDoc() method isn’t supported in Actions.
Do you have a designated location where you want to save those edited files?
if we ever meet in person, I will buy you a beerIf you want to save it to the same location as the original file with the _pages suffix, try this:
nd.saveAs(sd.path.replace(“.pdf”, “_pages.pdf”));
Please note that I’m writing on a phone and it automatically adds typographers quotes instead of the normal ones. You might want to replace those.
Also document title might not be the same as document filename.
You can use documentFileName instead of info.title
you have no idea... I tested it out on a half dozen random files, including this one from this year's graduating class... its preserving Art/Trim/Bleed boxes.. I could literally cryGlad it helped in the end.