using a simple workflow to stamp some datamatrix on incoming pdf documents, I use datamapper searching for specific coding and a blank template with an output preset doing the datamatrix stamping.
Since input documents may vary in size I want to switch print context sections. (if it’s > DIN A4 use bigger section for documents with bleed).
How can I get the pagesize in datamapper or should I use a workflow script with alambicedit ( myPDF.Pages(0).Size()) to get the size and two different All-in-one setups?
Thanks @Phil , Created the below control script, but when I’m putting in a A4 job which was output from a previous PReS template and neither condition is been set to true. Is there a way to see what is been returned for the width and height?
So the page control turns the pages on or off depending on the page size. When I run from teh template it works fine, however when I run through workflow teh first page of the input PDF is printed 4 times, once on each page, but then the rest are the same. So it’s like it’s not running the page control until it gets the 2nd record. Any idea’s?