Create a windows service, with a watcher that scan a folder and each time it recieve a new document execute the next steps:
1. Find a separator, example: a bar code in a document.
2. Split the document for each separator found.
One document with 40 sheets:
1. Separator found in Sheets 1, 18 and 35.
2. Windows service needs to create 3 documents:
Document1 with 1-18 sheets.
Document2 with 18-35 sheets.
Document3 with 35-40 sheets.
*Number of sheets in a document indeterminate.
*Number of separators in a document indeterminate.
*separator position indeterminate.
*Separator pattern: identify a code with (x)number of characters.