Copy link to clipboard
Copied
Hi Community.
I searched a lot to find a solution but still didn't found anything right.
I am looking for an option to (automatically) add little fold marks for folding A1 or A2 plans / plots. I am using Adobe Acrobat Pro DC and the pdf files are delivered by customers. It should be little lines at the lower right and the upper right position of the document - customizable position to fold the plans to A4 and A4 minus 20 mm.
Is there any workaround or script to automatically add such fold marks to multiple pdfs?
thanks in advance and kind regards,
Matthias
Copy link to clipboard
Copied
You can draw comment lines.
Copy link to clipboard
Copied
A script can be written to automatically add the "line" markup annotation.
Here's an article that covers what you'll to know to do it:
https://www.pdfscripting.com/public/PDF-Page-Coordinates.cfm
To create an annotation, use the "doc.addAnnot()" function
Copy link to clipboard
Copied
I took a shot at it... This should add lines that mark the size of an A4 page within an A1 page:
var a1Width = 1684;
var a1Height = 2384;
this.addAnnot({page: 0, type: "Line", points: [[a1Width/Math.sqrt(8), 0], [a1Width/Math.sqrt(8), a1Height]], style: "D", dash: [6,4]});
this.addAnnot({page: 0, type: "Line", points: [[0, a1Height/Math.sqrt(8)], [a1Width, a1Height/Math.sqrt(8)]], style: "D", dash: [6,4]});
Copy link to clipboard
Copied
You probably want to lock them down.
Copy link to clipboard
Copied
Sure, you can do that, but if you print it out it shouldn't really matter...
Copy link to clipboard
Copied
Thanks a lot. I will try it... 👍😀
Kind regards,
Matthias
Find more inspiration, events, and resources on the new Adobe Community
Explore Now