We have 1000+ pdf documents that needs to merge and then split them again.The merge process will add a separator page between two pdf documents while merging. So that splitting process will know where to split the document.
These 1000 documents consist of 3 different types. So i need to create 3 different separator (one for each type). The merge process will add appropriate separator while merging depending on the document type.
My question is, how do i create & detect this separator page?
One option i was thinking is to create a PDF page with specific barcode and the splitting process will read the barcode. But this seems like time consuming process because splitting process has to read every page, check if has barcode and if true, then extract the data to check the type.
Is there any other better way to do it?