How to remove to transparent boxes w no stroke or fill

prepressman_ntsf
Member
Posts: 55
Joined: Thu Apr 10, 2025 5:12 pm

How to remove to transparent boxes w no stroke or fill

Post by prepressman_ntsf »

I am attempting to remove to transparent boxes that lie outside the trim area of the PDF document.

They likely may be leftovers from InDesign or some other application.

I have attempted all of the removals I am aware of and nothing disposes of them.

Would someone be able to reveal just how to select and remove them?

File:
https://www.dropbox.com/scl/fi/a70wmlor ... es88a&dl=0

Boxes to remove.JPG
Boxes to remove.JPG (33.1 KiB) Viewed 3268 times
Robbie
Member
Posts: 160
Joined: Tue Apr 02, 2019 12:48 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by Robbie »

Its the line of the bleedbox and pagebox. you can select them en delete them ore turn off the boxes in pitstop inspector.
prepressman_ntsf
Member
Posts: 55
Joined: Thu Apr 10, 2025 5:12 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by prepressman_ntsf »

Thanks, Robbie.

I am aware that there's a manual way to do this, however, I am attempting to automate the process.

I have tried:

+ Remove anything completely outside the Trim Box
+ Remove irrelevant objects
+ Remove objects outside region

etc, etc, to no avail.
loicaigon
Advanced member
Posts: 830
Joined: Wed Jul 10, 2013 10:22 am

Re: How to remove to transparent boxes w no stroke or fill

Post by loicaigon »

If you are on 25.11 or higher, you can use the following Action:

- Select unnecessary clipping objects
- Remove Selection

That will work on those very files because it's a clipping object that is unnecessary.
May not help in other situations.
Loïc Aigon
Enfocus PitStop Product Manager
prepressman_ntsf
Member
Posts: 55
Joined: Thu Apr 10, 2025 5:12 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by prepressman_ntsf »

Thanks, Loic,

Unfortunately, I am at a version lower than the one specified.

Is there a workaround for removal?
prepressman_ntsf
Member
Posts: 55
Joined: Thu Apr 10, 2025 5:12 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by prepressman_ntsf »

I do have Remove Clipping Objects, but I am guessing that this won't work as it could likely select unwanted clipping objects?

And there is also Remove Transparent Box.
loicaigon
Advanced member
Posts: 830
Joined: Wed Jul 10, 2013 10:22 am

Re: How to remove to transparent boxes w no stroke or fill

Post by loicaigon »

None that I think of and why it has value to upgrade as we keep adding features that solve issues in a more comfortable way.

That "Select unnecessary clipping objects" is very powerful because it removes a clipping mask if the content is nowhere clipped. In previous versions, you can select clipping objects and objects that are clipped but you cannot say if they are useful or unnecessary.

Loic
Loïc Aigon
Enfocus PitStop Product Manager
Robbie
Member
Posts: 160
Joined: Tue Apr 02, 2019 12:48 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by Robbie »

We got an action for it running:
Select all
remove trimbox
remove bleedbox

In you case its a masking layer of the green block on the right side...
so mayby you need to add release mask en then delete it same for the outside line thats a masking line for the registration trimlines in the file..
prepressman_ntsf
Member
Posts: 55
Joined: Thu Apr 10, 2025 5:12 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by prepressman_ntsf »

Hi Robbie,

Thanks for delving into this further.

The transparent boxes are clearer in the screenshot below and are indicated by the colors designated by Pitstop. The outermost box is the Media Box transparent leftover, and the one just inside that is a Bleed Box transparent leftover.

This isn't common on most files, but I thought that I would attempt to add it into a pre-existing automation to have it removed, because it throws off the subsequent actions, creating an undesirable result.


Boxes to remove_sharper image.JPG
Boxes to remove_sharper image.JPG (26.31 KiB) Viewed 2598 times

I did try to isolate it by selecting it by its exact dimensions (see below), but this failed as well. I did try and delete the bleed box as you suggested, but this did not help. Deleting the trim box would not serve subsequent actions in the process.

failed removal attempt.JPG
failed removal attempt.JPG (55.42 KiB) Viewed 2598 times

As Loic said, updating to the current version would solve issues in a more comfortable way, but that is in the hands of my employer and likely won't happen until later this year or whenever our workstations and operating systems are replaced.
Robbie
Member
Posts: 160
Joined: Tue Apr 02, 2019 12:48 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by Robbie »

Why do you want to remove those any way. There outside your trimbox and registration marks. I have the latest version but dont get it working like Loic says yet.
prepressman_ntsf
Member
Posts: 55
Joined: Thu Apr 10, 2025 5:12 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by prepressman_ntsf »

Hi Robbie,

It is part of a process to impose the front and back of the envelope onto a single page.

In order to do so, prior to this a magenta stroke is applied to the trim box and it groups the contents of the entire page together. It does this for both pages.

Next, it changes the page box size so that the document is vertically greater in height so that both page's content can reside on the same page. It takes the grouped contents of the first page and forces it to align to the top and mirrors it horizontally because that it was is needed for the printing process.

It then cuts the contents from the second page, and pastes it to the now height-changed first page and aligns it to the bottom and deletes the second page.

Lastly, it deletes the magenta strokes (lines) that were drawn around the dimensions of the trim boxes that were needed for precise placement.

Having those transparent boxes throws off the dimensions of the group contents, because now the height and width exceeds the original trim box size.

I hope this explains.
loicaigon
Advanced member
Posts: 830
Joined: Wed Jul 10, 2013 10:22 am

Re: How to remove to transparent boxes w no stroke or fill

Post by loicaigon »

@Robbie,

Strange, here is what I have here: https://streamable.com/xw3osx?src=player-page-share

If you get a different behaviour, I would recommend sharing this with our support on my behalf.
Loïc Aigon
Enfocus PitStop Product Manager
loicaigon
Advanced member
Posts: 830
Joined: Wed Jul 10, 2013 10:22 am

Re: How to remove to transparent boxes w no stroke or fill

Post by loicaigon »

@prepressman_ntsf

Wait, if you only want to "impose" exclusively considering the trim, why not removing bleed/crop/art boxes and resize Media to trim?

Then you can do the combination you did, to get things imposed.
Screenshot 2026-10-16 at 16.45.27.png
Screenshot 2026-10-16 at 16.45.27.png (32.14 KiB) Viewed 2445 times
Here is a proposal:
Impose_enveloppes.zip
(2.56 KiB) Downloaded 72 times
Then you don't worry about those clipping objects. Would that work?
Loïc Aigon
Enfocus PitStop Product Manager
prepressman_ntsf
Member
Posts: 55
Joined: Thu Apr 10, 2025 5:12 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by prepressman_ntsf »

Hi Loic,

I actually need the Trim Marks and the Media Box. I was attempting to use the advice provided by Robbie to see if anything would work.

The link below is for a No9 Remittance Envelope file
https://www.dropbox.com/scl/fi/t97l6411 ... m0i1l&dl=0

and this link is for the matching Action List that goes with that file:
https://www.dropbox.com/scl/fi/nbfpqzw3 ... vkfmz&dl=0

It does precisely what I was explaining to Robbie on Oct 16 at 9:57am.

What I was attempting to do with No10 Envelope file—aside from deleting those unnecessary clipping masks—was to recreate the same procedure as the No9 Envelope action list so that it would impose the No10.

The only difference is to the print dimensions (and the magenta stroke that is pasted and that is the same size as the trim box). I have an action list imbedded within the action list that resizes the media and print box (See below).

I have copied and modified this once before and it worked, but now I cannot figure out how to get the correct media box and trim box dimension to take.

Section of Action List to modify.JPG
Section of Action List to modify.JPG (107.96 KiB) Viewed 207 times

The end result should be a trim box of 9.5 x 8.875.

I copied the Media Box dimensions from exported InDesign Template which were 10.16667 x 9.54167

Media box changes.JPG
Media box changes.JPG (159.3 KiB) Viewed 207 times

If those dimensions are punched into the Resize media box Upper right section seen in my screenshot, it will create a media box to exactly that size.
However, the Trim Box winds up as the same size at the Media Box.

same size boxes.JPG
same size boxes.JPG (38.94 KiB) Viewed 207 times

I have tried to change the Attributes for Change trim box where it is under "Normalize Page Boxes" but if I use anything other than Use Box size > Media Box... than the Media Box is wrong and the Trim Box is wrong.

How do I adjust the Trim Box?

To be honest, I do not understand how any of the settings under "Attributes for Change trim box:" even work. The options are "Define new rectangle", "Resize", "Use box size" and "Resize page box to fit the selection." I have dabbled with making changes in them, but the Trim Box never comes out correct and the Media Box is wrong, too.
prepressman_ntsf
Member
Posts: 55
Joined: Thu Apr 10, 2025 5:12 pm

Re: How to remove to transparent boxes w no stroke or fill

Post by prepressman_ntsf »

I actually figured out what I convolutedly attempted to describe.

The Resize Media Box dimensions had to be the same size as the trim dimensions.

Otherwise, what I was trying to achieve will not work. I use this action list as a template, as this is the third variant of this I have done, and I did not notice this discrepancy.

I also noticed that even with those transparent boxes, the positioning was still exactly where it ought to be.

The first link is the No10 Envelope file, the second is the action list that generates the imposition, and the last link is an action list that imposes an overlay of a template that helps check the positioning of the elements for accuracy.

https://www.dropbox.com/scl/fi/a70wmlor ... ld210&dl=0
https://www.dropbox.com/scl/fi/3tz9190l ... q9ysk&dl=0
https://www.dropbox.com/scl/fi/6ojcx0l6 ... e9so4&dl=0
Post Reply