Inserting a blank page before a bookmark if the previous section has an odd number of pages
Hi,
I have a PDF containing multiple report cards, and each student's report card is bookmarked. Some report cards have an even number of pages, and some are odd. That and the number of pages vary depending on how much was written on the report card and the student's grade level, therefore it is not a set number of pages.
I would like to insert a blank page after each report card that ends on an odd number of pages, so that the entire PDF can be printed double-sided.
These PDFs are generated from our Student Information System. The SIS Tech Support is not giving me a solution to do this directly from the system, therefore I am trying with Adobe Acrobat Pro DC.
I am not familiar with Javascript. I have found how to add an action to "Execute Javascript", but I do not know how to write the proper code to do this, if it's possible. I have found codes to add pages at the end of odd docs, but not the end of bookmarked sections.
Does anyone have any suggestions? Please let me know if I can provide any other info.
Thank you,
