I am running a PDF/VT through a workflow that puts a Datamatrix barcode on each page. In order for our intelligent inserters to work, the barcode needs to have the sequence of the current record, the page number of the current record, and the total sheets of the current record.
<Record Number><Sheet Number in Record><Number of Sheets in Record> gave me the total pages in the PDF, and did not consider each record of the PDF/VT separately.
The PDF/VT Text variables are working correctly
PDFVT Total Records: $FFwfJob.PDFVTNumberOfRecordsInJob$
PDFVT Record Number: $FFwfJob.PDFVTRecordNumber$
PDFVT Sheets in Record: $FFwfJob.PDFVTSheetsInRecord$
Is there a way to get those variables into the Datamatrix Barcode data?
I see the problem and have written a BUG on it. To date, I have not been able to come up with a workaround.
I was able to create a workaround in my case, although it is very specific to my workflow. I was actually joining a group of PDF/X-4s to create the PDF/VT. I just moved the barcode node before the join and used the variables for <Sheet Number> and <Number of Sheets in Job>, which worked perfectly for the inserter.
If there was a case where someone was starting with a multi record PDF/VT, is it possible to use a split node to break it into individual PDFs and then rejoin it after adding the barcode?
Yes, that's it, but I don't have that option. Let me guess...that option is tied to the Variable Data module, which is the one we don't have.