I have a simple task but I can't find a good way to solve it.
I want to check if incoming PDF page size will fit on a certain sheet size (no matter the rotation). If the page will fit I send it to the 'Ok connection' and if the page wont fit I send the job to the 'Fail connection'.
I have the 'page size' and 'sheet size' as separate PrivateData in the job.
I have Pitstop Server, pdfToolBox and Switch with variables. Unfortunatly I doesn't have the scripting module, but I'm thinking that this shouldn't be to hard to solve with the tools I got.
Anyone have a suggestion?
Check if page size fit on sheet size
- magnussandstrom
- Advanced member
- Posts: 378
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Check if page size fit on sheet size
With an Action List:
Select by page size (width larger than X, or height larger than Y)
Select by page size (width larger than Y, or height larger than X)
AND
Log selection as error
Select by page size (width larger than X, or height larger than Y)
Select by page size (width larger than Y, or height larger than X)
AND
Log selection as error
- magnussandstrom
- Advanced member
- Posts: 378
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact: