Answered
Acrobat profile check and page boxes
I am looking for a prefile script able to list all page Boxes present in the PDF file.
How may I writ it?
Thank you for any help
I am looking for a prefile script able to list all page Boxes present in the PDF file.
How may I writ it?
Thank you for any help
You can use this code to do that:
for (var p=0; p<this.numPages; p++) {
console.println("PAGE " + (p+1));
console.println("Art: "+this.getPageBox("Art", p));
console.println("Bleed: "+this.getPageBox("Bleed", p));
console.println("Crop: "+this.getPageBox("Crop", p));
console.println("Trim: "+this.getPageBox("Trim", p));
console.println("Media: "+this.getPageBox("Media", p));
console.println("BBox: "+this.getPageBox("BBox", p));
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.