After the Image enhancement step has found the blank pages, an ArrangePages event script deletes them and turns pages that were scanned sideways (landscape) upright. The same event can cut a cheque off a letter, copy a page into two documents or group pages by any rule you can write in JavaScript.
Try it
Create a Batch Setup from this template (Batch Setups › New Batch Setup, tab System features), and download its sample documents from the template's card (Download samples). Then: Import mixed-pages.pdf (a letter, a blank page and a page lying on its side). Open the batch: the blank page is gone and the landscape page stands upright. The batch history says what the script did.
At a glance
| Region | Global |
| Industry | System features |
| Document types | General document |
| Workflow | Scan → Image enhancement → OCR, separation & classification → Extraction & validation → Index / Validate → PDF generation & export |
| Straight-through processing | No — every batch is checked on screen |
| Separation | each file is one document |
| Output | searchable PDF with XML data |
| Dates read as | dd/MM/yyyy, d/M/yyyy, dd.MM.yyyy |
Use this template
- Go to Batch Setups and choose New Batch Setup.
- Filter by Global or search for "Tidy pages with a script", select it and choose Next.
- Name the Batch Setup, choose the export folder and create it.
- Try it with a few of your own documents on the Test tab, adjust fields and rules, then publish it — see Test a Batch Setup and Versions and publishing.
Document types and fields
General document
Used for documents that match no other type; operators can also choose it in Classification.
| Field | Type | Required | Found by | Checks |
|---|---|---|---|---|
| Sender | Text | label "From", "Sender", "Yours sincerely" | ||
| Letter date | Date | label "Date", "Dated" | Not in the future | |
| Reference | Text | label "Our ref", "Your ref", "Reference" | ||
| Route to | Choice | entered by the operator | one of: Accounts, Sales, Customer service, Legal, Operations, Other |
Adapt it to your documents
- Add or rename fields and change how they are found: Fields and data extraction, Finders and zones.
- Improve document type recognition: Document classes and classification, Samples and classifier training.
- Send the documents and data to your systems — folders and servers, SharePoint, Google Drive and other cloud drives, S3, document management (FileNet, Alfresco, M-Files, DocuWare), SAP, Dynamics 365, Salesforce, Xero, QuickBooks, SQL, REST or a C# script: Output and export, Cloud and business-system destinations.
- Arrange the data entry screen: Screen designer.