Scale page (fill within 210x297 mm)

Post Reply
User avatar
magnussandstrom
Member
Posts: 123
Joined: Thu Jul 30, 2020 6:34 pm
Location: Sweden

Scale page (fill within 210x297 mm)

Post by magnussandstrom » Tue Jan 18, 2022 10:52 am

Hi, I trying to make an action list that scales pages (trimbox) proportionally within 210x297 mm (A4). But always fill the whole page, allowing 'cropping' of excess with/height, regardless of incoming dimensions. Can't figure out how to do that. Any suggestions?

Image
Attachments
test_crop.jpg
test_crop.jpg (179.38 KiB) Viewed 786 times
prepress_geek

bens
Advanced member
Posts: 223
Joined: Thu Mar 03, 2011 10:13 am

Re: Scale page (fill within 210x297 mm)

Post by bens » Thu Jan 20, 2022 10:14 am

I think this could work:

1. Select all (or whatever selection you need)
2. Scale selection to trim box height, keep width proportional
3. Select objects inside trim box (inside only, not overlapping)
4. AND
5. Scale selection to trim box width, keep height proportional

Step 2 will either give the size you want, or it will be too small. If it's too small then step 3 will select the objects, and step 4 combines it with the original selection. Then step 5 gives the size you want.

If step 2 already gave the size you want then step 3 will select nothing because the objects are already overlapping (and hence no longer inside) the trim box, and the rest of the Action List won't do anything.

Post Reply