I need to add a datamatrix to each pdf page that contains number of sheets per pack (n of m) and a sequence number. I need the sequence number to start at 0 and count up by 1 for each page until it reaches 999. I will then need it to reset back to 0. I currently have multiple sections with different page numbers.