B4Print.com

Workflows => Enfocus => Topic started by: metlife on September 05, 2019, 03:07:40 PM

Title: Reorganizing the PDF file
Post by: metlife on September 05, 2019, 03:07:40 PM
Welcome Girls and Guys
I need your help because I don't even know how to bite this topic myself. Soon, I will receive a large number of pdf files from the client. In each of them there will be numerous groups of objects, consisting of a photo, vector object and text (the text can be converted into curves in advance). The placement of these objects in the client's file is random. Due to the fact that I can't send the client file here because they would fire me, I made a test file based on the client file. The file is called "BEFORE.pdf". What I need to do is reorganize these groups in one copy to stuff them into A3 format (without scaling, the only thing you can scale is the pink table with the word LEGEND on top of the document). Groups of objects cannot touch each other. If the objects are too big, I have SRA3 format (450mm x 320mm). Also I can't change color profile of this file. To put it simply, I need to reorganize the "Before.pdf" file to the state shown in the "After.pdf" file. Can any of you Girls and Guys help me with automate this operation? Can this be done in Enfocus Pitstop or Adobe Acrobat DC? Maybe some other application can do this?
Title: Re: Reorganizing the PDF file
Post by: Tracy on September 05, 2019, 04:04:56 PM
That's a tough one, It's a bummer that all the boxes are not the same size
other wise you might be able to copy paste into position using pitstop.
I don't see an automated way of doing this.
Title: Re: Reorganizing the PDF file
Post by: david on September 05, 2019, 05:00:36 PM
OMG

This is a disaster waiting to happen.
Looks like somebody is trying to save their job.

There is no way, without a ton, I mean a ton, of scripting.
Why would they put stuff like that into a file in such a random way and then want you to sort it out?
Wouldn't it be easier if they sent you the individual files and then let you put them together?


Sorry, no help here.
Good luck.
Title: Re: Reorganizing the PDF file
Post by: Joe on September 05, 2019, 08:17:08 PM
If all the objects will always be in the same position and the same size you could setup a preflight profile to copy the page 9 times (there were 9 pages in the AFTER PDF). Then figure out the coordinates for what each page would be from the BEFORE PDF and change the media box in the PDF using those coordinates via that preflight profile and then change the other page boxes to match the media box. It would be some work getting it setup but after that it would just be a matter of applying that profile to your BEFORE PDF.

If they change in either size or position then I got nothing...and the fact you said "The placement of these objects in the client's file is random." makes be believe the above probably won't work.
Title: Re: Reorganizing the PDF file
Post by: Joe on September 05, 2019, 08:17:30 PM
And oh yeah I forgot to add:

 :facepalm:
Title: Re: Reorganizing the PDF file
Post by: metlife on September 06, 2019, 02:02:17 AM
If all the objects will always be in the same position and the same size you could setup a preflight profile to copy the page 9 times (there were 9 pages in the AFTER PDF). Then figure out the coordinates for what each page would be from the BEFORE PDF and change the media box in the PDF using those coordinates via that preflight profile and then change the other page boxes to match the media box. It would be some work getting it setup but after that it would just be a matter of applying that profile to your BEFORE PDF.

If they change in either size or position then I got nothing...and the fact you said "The placement of these objects in the client's file is random." makes be believe the above probably won't work.

Joe, unfortunately you're right. Files from this client will have different sizes of artboards and those groups of objects. This means that unfortunately I can't apply your solution, and I was thinking about it at the beginning. All the fun with the files remains on my side because the client has no intention of improving anything on his side, and manual placement of all these objects seems to me a shot in the foot. I will probably have to do it, because I have to print all of these objects on a transparent film, which I have in this size A3 (or SRA3) because larger ones will not come to the printer.
Title: Re: Reorganizing the PDF file
Post by: abc on September 06, 2019, 04:18:33 AM
Wow!
"The placement of these objects in the client's file is random." That's the killer!
I can't see anyway to accurately automate this.

In PitStop I think you are looking at manually grouping objects and then cut and pasting into a new document and resizing to fit. The PitStop alignment tools might be helpful in this case.

I hope you are charging accordingly!
Title: Re: Reorganizing the PDF file
Post by: metlife on September 06, 2019, 05:58:33 AM
Wow!
"The placement of these objects in the client's file is random." That's the killer!
I can't see anyway to accurately automate this.

In PitStop I think you are looking at manually grouping objects and then cut and pasting into a new document and resizing to fit. The PitStop alignment tools might be helpful in this case.

I hope you are charging accordingly!

Abc, unfortunately, only one element I can scale and that is the frame with the table at the top of the "Before.pdf" file. Other objects must remain on a 1: 1 scale. At the beginning I wanted to do it as Joe suggested, but as I found out that the size of the artboards will be random, as well as the size of the objects, my hands dropped because I realized that it would be a path through torment.
Title: Re: Reorganizing the PDF file
Post by: Joe on September 06, 2019, 08:53:39 AM
I would be sure to charge them enough to where they would have some incentive to make it easier.
Title: Re: Reorganizing the PDF file
Post by: Mikie on September 06, 2019, 09:27:21 AM
Oh...GOD lol

I can usually figure something out but this one is just too dumb.

I agree with everyone, all you can do is charge them into supplying it as something you can work with, or make a fortune. If it were one file coming in I'd just suck it up and do it, but you said "a large number".

my condolences  :shoots_self:
Title: Re: Reorganizing the PDF file
Post by: Grimace on September 06, 2019, 12:50:51 PM
My work around would still be tedious, but would save some time.
Create multiple page Illustrator file with the appropriately sized art boards, stacked orientation, copy the BEFORE file and paste into Illustrator while zoomed out, the art will land across the multiple art boards. Center the art as needed using Illustrators align tools, resize the the art boards if needed in Acrobat.

Good luck.
Title: Re: Reorganizing the PDF file
Post by: delooch on September 06, 2019, 02:02:37 PM
can i ask why the client is submitting it all this way? all in one loooong pdf?

if he took 5 freaking minutes to drop that into A3 sheets youd be halfway there already. looks like laziness on the clients part. a little effort on their side would facilitate may things, especially the graphics charges they are going to get.

 :deadhorse:

 :strangle:
Title: Re: Reorganizing the PDF file
Post by: Joe on September 06, 2019, 02:18:35 PM
can i ask why the client is submitting it all this way? all in one loooong pdf?

if he took 5 freaking minutes to drop that into A3 sheets youd be halfway there already. looks like laziness on the clients part. a little effort on their side would facilitate may things, especially the graphics charges they are going to get.

 :deadhorse:

 :strangle:

Except the salesman bid it out as "camera ready" so all prepress should have to do is hit the print button.

 :facepalm:
Title: Re: Reorganizing the PDF file
Post by: david on September 06, 2019, 02:33:54 PM


...so all prepress should have to do is hit the print button.

that's all I ever do...
press a button...


damn, now my button is broke...

time to go home


 :drunk3:
Title: Re: Reorganizing the PDF file
Post by: Tracy on September 06, 2019, 03:24:47 PM
I agree with Grimace, Illustrator, I would copy paste and use the transform palette to get into position
write down the positions for each area, after awhile you will memorize the positions.
Just camp out on the job, let them know it will take a long time.
hopefully they aren't charging like 20 bucks or something. but even if they do that is on them!
Title: Re: Reorganizing the PDF file
Post by: Joe on September 06, 2019, 03:37:06 PM


...so all prepress should have to do is hit the print button.

that's all I ever do...
press a button...


damn, now my button is broke...

time to go home


 :drunk3:

Press any key to cancel...press any other key to continue.
Title: Re: Reorganizing the PDF file
Post by: metlife on September 09, 2019, 05:55:12 AM
You know how it is. Our client, our Lord. In my company, the client is superior and can do everything, and we must do everything not to lose the client. So it also comes out that as part of the duty we have to rummage in the excrement. Unfortunately, my country doesn't care about employees.
And by the way. ABC might be a nice feature to work on and add in the upcoming version   ;)
Title: Re: Reorganizing the PDF file
Post by: Joe on September 09, 2019, 08:50:29 AM
To add something like this in any software there has to be some kind of constant somewhere to build something with. In the case of your files I'm not seeing anything constant so I am not sure that is even possible.
Title: Re: Reorganizing the PDF file
Post by: abc on September 09, 2019, 04:35:52 PM
Have to agree with Joe here. If it was consistent we could set up rules today to copy and paste objects based on regions, and pasting into positions and pages. But as it's so random it's a completely manual job at the moment.

If they supplied one graphic per page or something like that it would be a start!
Title: Re: Reorganizing the PDF file
Post by: metlife on September 10, 2019, 03:44:06 AM
Have to agree with Joe here. If it was consistent we could set up rules today to copy and paste objects based on regions, and pasting into positions and pages. But as it's so random it's a completely manual job at the moment.

If they supplied one graphic per page or something like that it would be a start!


ABC, could You implement such a function in future if it were constant object positions? I must admit that it could be useful in organizing objects in a PDF file. I would have a question about another topic. Is it possible to implement in Pitstop the option to generate a composite PDF file from a separated PDF file?