I am trying to add data matrix on PDF where I have documents that can have multiple pages in such case I want data matrix on first page of that document only.
Also data matrix should only be on the front page of the document.
Hello @djinkal,
Do you still have all this? If yes, then you can simply add the barcode to the first page by adding it to the first page (of one) of the print section(s) of your template.
Tip: See the walkthrough Adding a barcode for more information about adding a barcode element.
Hello @Marten ,
This one is done differently than my previous post. I was able to do it that way. But as I am trying to optimize my process, I got to know that this is done in Connect designer itself by just adding proper output preset settings.
In the given image I have shown the settings I am doing. I just want to know, what condition I need to add so that I can get the datamatrix barcode on first page of each document for that job?
Changing the condition from page.nr % 2 == 1
to page.nr === 1
should add the barcode element to the first page in the document only.