Copy link to clipboard
Copied
In PDF I have two: artbox and trimbox, but I need only trimbox and bleedbox. I don't know how to remove artbox and cropbox. I need only trimbox and bleedbox. I need it for PDF/X-4 compliants.
Please help me - how do I remove unnecessery boxes from PDF?
Copy link to clipboard
Copied
It's impossible to delete these boxes, they are a part of the page definition. Or do you mean there are markings on the page that indicate those boxes, and that's what you want to delete?
Copy link to clipboard
Copied
All the boxes are invisible. If you have markings where the boxes are, changing or removing the boxes won't remove the markings. In fact all the boxes except MediaBox are optional. However, you cannot discover whether the box exists in JavaScript, since all boxes have a default. CropBox defaults to MediaBox. ArtBox, BleedBox and TrimBox default to CropBox.
Copy link to clipboard
Copied
I don't know if the existance of an art box would not be PDF/X-4 compliant, but you could try save-as other> PDF/X> PDF/X-4, or run an Acrobat preflight to either verify or convert to PDF/X-4.
Copy link to clipboard
Copied
++Adding to the always valuable guidance of Luke Jennings,
This can also be manipulated with Acrobat JavaScripting.
If you're also curious on how to do this via script, See some of ACP's Thom Parker tutorial that explain in more edtail how to understand the structure of a PDF here:
- Navigate the Internal Structure of a PDF Document
- Finding Page Boundaries
- More access to Acrobat free tools in this discussion : Can I set the MediaBox to origin 0/0 using javascript?
- Additional supplementary reading here: The PDF page boxes: MediaBox, CropBox, BleedBox, TrimBox & ArtBox
Copy link to clipboard
Copied
It's impossible to delete these boxes, they are a part of the page definition. Or do you mean there are markings on the page that indicate those boxes, and that's what you want to delete?
Copy link to clipboard
Copied
Thanks for your answer.
Yes, exactly! I want to delete markings for artbox and cropbox. Marking of these boxes make conflict when I run preflight. I must to say, I using specially create Preflight profil for my customer. So all I need is a trimbox and a bleedbox, but markings of all boxes exist in my work. I don't know how to remove markers from artbox and cropbox. So I asked for help.
Copy link to clipboard
Copied
It's possible to use a script to redact those areas. Could you share a sample file with us, though?
Copy link to clipboard
Copied
All the boxes are invisible. If you have markings where the boxes are, changing or removing the boxes won't remove the markings. In fact all the boxes except MediaBox are optional. However, you cannot discover whether the box exists in JavaScript, since all boxes have a default. CropBox defaults to MediaBox. ArtBox, BleedBox and TrimBox default to CropBox.

