I couldn’t find an answer to my problem in the how-tos or forum, so here it goes:
I have an input pdf with an invisible text on every page, which specifies the print properties. There is for example a payment slip on a preprinted paper, which should be drawn from tray 3 on the targeted printer. There are records with payment slips and others without these in the data stream.
I have put these print properties into a detail-table in the data mapper, and this worked ok. But how can I design the template to change the media accordingly to the values of the detail table…
In the old designer, I would go to the document properties and say “if (paymentSlip) then inputslot 3”…
I can not currently provide any data, because I’ll have to anonymize them, and that’ll cost a lot of time… But my question is still not answered. How do I get the current print page in the designer and use it further (in a script)?
It is not possible to get the current print page in the connect release. There is a possible workaround with switching sections for my problem, which fully would work in the next release.