Question
Automating Prepress file prep tasks
I'll try and keep this as simple as possible...
When it comes to scripting and automation, I'm pretty clueless, so I'm hoping some of you more analytical and "under the hood" programming types can help me out...
I'm trying to simplify some of the repetitive tasks that need to be performed on every job we get in, and was wondering if any of this could be done with a script?
I'll give you a basic example, and then if it's within the realm of possibilities, we'll work our way up to impossibly complicated...
All of our jobs are built to a dieline, which defines the structure of the package.
Here are the rules for the dieline art:
Lives on its own layer with nothing else. Everything else such as callouts, measurements etc. that may have been on the original die layer are removed at the beginning of the job.
1pt stroked lines, solid or dashed. Grouped into a single item.
Colored to a spot color called ZDIE (we have a persistent swatch library with this color already defined)
Stroke set to overprint.
The bounding box of the dieline defines our document size. Documents are 1/2" larger in width/height than dieline. (i.e. 24.65" x 31.875" die, 25.15" x 32.375" document).
Dieline and all art are centered to the document (i.e. 1/4" from edges of die to document edge on all sides).
Also, we prefer that files are rotated, if possible, so that they are higher than wide, but this is not mandatory...
I'm going to make a couple of generalizations now about the majority of files we get in...
They will have multiple layers of art, with the die on its own layer, and, they are not built to any consistent document size relative to the dieline (i.e. they are usually just plopped in the middle of a large document with no regard to being centered, etc.).
Now, assuming the document has been prepared to the following point:
The dieline is on its own layer, with no stray points, or any extra art or items on the layer to make its size inaccurate.
No hidden layers/items
No locked layers/items
Can the following procedure be automated?
1) Select the art on the dieline layer, group it, color it ZDIE, set it to a 1pt overprinting stroke.
2) Determine the size of the outer dimensions of the die (bounding box), and change the document setup to (Width of die + 1/2") X (Height of die + 1/2") OPTIONAL: If wider than high, make the long side the height.
3) Select all art/layers, and center it to the artboard based on the bounding box of the die layer (so the die is centered, with 1/4" to the edge of the document on all sides), rotating all art if necessary, based on if the document width/height were flipped in step 2.
I'm sure I'm leaving out critical pieces of information, so PLEASE, ask question...
If this can be automated, we stand to save literally HUNDREDS of man hours a year, not to mention insuring consistency and accuracy in all documents...
Any ideas?
Thanks,
Dave
When it comes to scripting and automation, I'm pretty clueless, so I'm hoping some of you more analytical and "under the hood" programming types can help me out...
I'm trying to simplify some of the repetitive tasks that need to be performed on every job we get in, and was wondering if any of this could be done with a script?
I'll give you a basic example, and then if it's within the realm of possibilities, we'll work our way up to impossibly complicated...
All of our jobs are built to a dieline, which defines the structure of the package.
Here are the rules for the dieline art:
Lives on its own layer with nothing else. Everything else such as callouts, measurements etc. that may have been on the original die layer are removed at the beginning of the job.
1pt stroked lines, solid or dashed. Grouped into a single item.
Colored to a spot color called ZDIE (we have a persistent swatch library with this color already defined)
Stroke set to overprint.
The bounding box of the dieline defines our document size. Documents are 1/2" larger in width/height than dieline. (i.e. 24.65" x 31.875" die, 25.15" x 32.375" document).
Dieline and all art are centered to the document (i.e. 1/4" from edges of die to document edge on all sides).
Also, we prefer that files are rotated, if possible, so that they are higher than wide, but this is not mandatory...
I'm going to make a couple of generalizations now about the majority of files we get in...
They will have multiple layers of art, with the die on its own layer, and, they are not built to any consistent document size relative to the dieline (i.e. they are usually just plopped in the middle of a large document with no regard to being centered, etc.).
Now, assuming the document has been prepared to the following point:
The dieline is on its own layer, with no stray points, or any extra art or items on the layer to make its size inaccurate.
No hidden layers/items
No locked layers/items
Can the following procedure be automated?
1) Select the art on the dieline layer, group it, color it ZDIE, set it to a 1pt overprinting stroke.
2) Determine the size of the outer dimensions of the die (bounding box), and change the document setup to (Width of die + 1/2") X (Height of die + 1/2") OPTIONAL: If wider than high, make the long side the height.
3) Select all art/layers, and center it to the artboard based on the bounding box of the die layer (so the die is centered, with 1/4" to the edge of the document on all sides), rotating all art if necessary, based on if the document width/height were flipped in step 2.
I'm sure I'm leaving out critical pieces of information, so PLEASE, ask question...
If this can be automated, we stand to save literally HUNDREDS of man hours a year, not to mention insuring consistency and accuracy in all documents...
Any ideas?
Thanks,
Dave
