Skip to main content
Participant
August 25, 2018
Question

Duplicate PDF pages based on field value.

  • August 25, 2018
  • 3 replies
  • 877 views

Hello, this may be a scripting question.

I also am not sure if I should duplicate the pages in Indesign or within acrobat.

I have a large document for printing created as a merge in Indesign from CSV.

I need to provide a proof with only one instance of each page

When we are ready to print, the pages need to be duplicated based on data from the original CSV.

My thinking is I bring the number of copies required for each page as a field, non printing, screen only. This way the proofing process can also check and potentially amend the number of copies required while the content is being checked.

I then need a method to duplicate the pages based on that field value.

Alternatively...... 

Please give me a suggestion.

Thanks

This topic has been closed for replies.

3 replies

Nathman_FAuthor
Participant
August 25, 2018

Hello,

Abambo, thankyou for the transfer. I did wonder..

Try67, yes I imagined the script on the click of a button. I already have a non printing layer to put the button on. It would need to be only one button for the whole document and become inactive once it was actioned.

I also did see some posts on adding a function within a menu, is this an action? I assume this wouldn't follow the file which is fine in this case as only one user will complete the page duplication step.

Thanks

Nathan

try67
Community Expert
Community Expert
August 26, 2018

Yes, that would require installing a script on the local machine, which will probably also be required for the script that duplicates the pages.

This is not a simple task and would require a custom-made tool. If you're interested in hiring someone to develop it for you feel free to contact me (try6767 at gmail.com) and we could discuss it further.

Nathman_FAuthor
Participant
August 25, 2018

Hello Abambo,

Thankyou for the reply. I am able to achieve the outcome by manipulating the CSV data, in fact that is my current workflow.

For a few reasons specific to my project, a script at the end of the process in acrobat would be the ideal.

I have a non printing field in the PDF, I just need some help with the Javascript to duplicate the pages based on the field.

Thanks

Abambo
Community Expert
Community Expert
August 25, 2018

I transferred from Printing & Prepress to JavaScript.

May be there are qualified users knowing how to do that.

ABAMBO | Hard- and Software Engineer | Photographer
Abambo
Community Expert
Community Expert
August 25, 2018

If you want to solve this at the last station in the chain, you can do that only with scripting. I would do it at the first element in the chain, even before it enters Indesign by generating the csv data sets accordingly.

ABAMBO | Hard- and Software Engineer | Photographer