Skip to main content
Participant
November 25, 2024
Question

Can you print Set Page Boxes in a document?

  • November 25, 2024
  • 1 reply
  • 805 views

Just wondering if anyone knows if it is possible to print "Set Page Boxes" in a pdf document. This is found under Tools>>>Print Production>>>Set Page Boxes. We output print-ready files for our clients all the time and sometimes it is helpful to show the bleed and trim boxes overlayed on the print file. I know you can show the page boxes by default under the menu Edit>>>Prefrerences>>>Page Display>>>Page Contect and Information>>> and select "Show art, trim, & bleed boxes but they only show on screen and do not print. I also know you can print trim and bleed marks under the advanced settings when you go to print (which is the next best thing) but I am hoping I am able to print the physical boxes rather than just the crop marks. Any help would be appreciated. Thanks:)

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
November 25, 2024

A script can be used to add annotations ("comments") to the file that match those boxes before printing, and remove them afterwards. Here's an example of adding a red box for Crop and a green one for Trim (for the first page only):

 

var cropBoxAnnot = this.addAnnot({type: "Square", page: 0, strokeColor: color.red, rect: this.getPageBox("Crop", 0)});
var trimBoxAnnot = this.addAnnot({type: "Square", page: 0, strokeColor: color.green, rect: this.getPageBox("Trim", 0)});
this.print();
cropBoxAnnot.destroy();
trimBoxAnnot.destroy();

 

Participant
November 25, 2024

That's pretty cool, thank you. It definitely prints but the positioning of the boxes are not center. They seem to top right align on any document that has bleed (see example). Any ideas?

try67
Community Expert
Community Expert
November 25, 2024

That's how they are defined, then... Try adding the Bleed box and see how that is positioned in relation to them.

How was this file created?