Is there an easy way to add a PDF to the backside of each map printed using data driven pages?
I know I could print one sided and then reinsert the printed pages upside down, and print the PDF on the reverse side. However, we may deliver this to our client digitally and would like it to be setup for them.
For example, I have data driven pages set up for 50 parcels. Each map printed will show a single parcel's data. I need a generic PDF to print on the backside of each of these 50 maps.
Answer
To do this I would use ArcPy with Data Driven Pages. There is some sample code in the help document entitled Creating a map book with facing pages which has all the necessary coding patterns but is a bit more complicated than what you want to do.
To create your PDF you just need to use arcpy.mapping
to loop through your data driven pages one at a time, and then on each iteration to:
- export the current page using
exportToPDF
and thenappendPages
- use
appendPages
again to put a copy of your generic PDF next
No comments:
Post a Comment