The Pre-Index Batch feature of SimpleIndex is what enables 1-click scanning and indexing, as well as command line processing. Pre-indexing lets you set fixed values for index fields and apply them to a whole batch. These can be combined with automatic values from barcode recognition, OCR and Autofill to create fully automated batch processes that can be launched from your custom application, a desktop shortcut, scheduled server task or even linked to the scan button on your scanner.
SimpleIndex® 1-click scanning and indexing is enabled with its command line interface. SimpleIndex job files can be saved and opened just like a Word document. When you open a job file, SimpleIndex begins processing a new batch automatically. Scanning, processing (OCR, barcodes, database autofill, etc) and export happen in sequence with no further input from the user.
The Command Line Interface also allows SimpleIndex to be integrated with custom software applications with minimal to no programming required.
- Field values, processing folders and other settings can be passed as command line parameters
- Any SimpleIndex option can be set using XML job files
- Database export links processed files to your app automatically
- Control application behavior (display window, exit after processing, etc.)
- Pre-Process and Post-Process features can execute other command line applications at start and end of batch
Unattended Server-Based Processing
SimpleIndex lets you run any SimpleIndex job as a Windows service for fully unattended processing. This is particularly useful for high-volume, high-demand applications where scanned images are coming from many remote workstations, as well as small and large implementations utilizing network scanners or digital copiers. In server mode, images are saved to a “hot folder” on the server where they are processed automatically. SimpleIndex performs barcode recognition, ocr and other indexing tasks and exports formatted files to storage and database servers.
Server processing licenses may be added to any version of SimpleIndex. Unattended processing is possible without a server license, but a user must be logged on to the workstation for it to execute. Windows services run automatically when the computer is booted up, even if nobody is logged on. You must have a Server license to run SimpleIndex on Windows Server operating systems.
SimpleIndex Servers can run multiple jobs on different schedules on the same server, or run multiple instances of the same job simultaneously to take advantage of multiple CPUs.
Integrate SimpleIndex in your Custom Application
Are you a developer looking for an easy scanning interface to use with your custom database application? Then SimpleIndex is the perfect solution for you!
With SimpleIndex, you can easily package pre-configured scanning and indexing settings for distribution with your application. SimpleIndex‘s command-line interface allows you to pre-set some or all of the index values for each batch, or even to hide the SimpleIndex GUI altogether. SimpleIndex can also interface directly with your database, inserting or updating index values and associating them with the images you scan. With SimpleIndex, you won’t have to write a separate import routine to get the new information into your database.
SimpleIndex is a far better option to developing your own scanning interface from scratch. If your application needs to use advanced features like barcode recognition or dynamic OCR, SimpleIndex saves you hundreds of hours of development time. If you need to let users preview each image, rotate, clean-up, rescan or index as necessary, why reinvent the wheel?
SimpleIndex means it is no longer too costly or complicated to bundle a full scanning application with your custom software. Being a SimpleIndex reseller means big discounts on every copy you sell. Sign up now!
Please refer to the Wiki Documentation for the complete Command Line Interface reference.
In addition to running a particular SimpleIndex Job Configuration with a command line script, other features might be required. This could be stopping dialogs from turning on, suppressing dialog boxes or passing the input or output folder to the Job. Below you will find some of the commands that can be added to the standard command line that SimpleIndex uses.
Start with the traditional full command line to run SimpleIndex, which you can find here:
“C:\Program Files (x86)\SimpleIndex\SimpleIndex.exe” /c:”<Path to Job>”
In this example /c: is the command to direct what Job Configuration is used, but I have listed more below. Each new argument should be separated by a space.
- /q = Prevents certain dialog boxes from appearing that require a manual click.
- /s = Prevents other dialog boxes from appearing that require a manual click.
- /i: = Set the specific Input Folder you would like to import files from.
EX. “C:\Program Files (x86)\SimpleIndex\SimpleIndex.exe” /c:”<C:\Images\Scan Files.sic>” /i:”C:\Images\Input”
- /o: = Set the specific Output Folder you would like to import files from.
EX. “C:\Program Files (x86)\SimpleIndex\SimpleIndex.exe” /c:”<C:\Images\Scan Files.sic>” /i:”C:\Images\Output”
- /d:15 = Set Processing Log to highest level and turn on log output. This will turn on the Processing Log, without having to do it manually.
Please refer to the Wiki Documentation for the complete Job Configuration Interface reference.
SimpleIndex has a variety of prompts and pop ups that must be clicked that come up by default. These are normally needed by most users to set certain options or perform certain tasks based on the Job Configuration settings that have been set-up. These can be forced to be turned off though with a command line script. This can be configured in the settings for a shortcut that points to the Job Configuration that you would like to suppress the prompts and pop ups on.
Instructions to set Job Configuration shortcut to suppress all prompts and pop-ups:
- Right click on the Job Configuration file and select “Create shortcut” or “Sent to>Desktop”
- Find the shortcut, Right click on the shortcut and select “Properties”
- In the “Target:” field change the text in the field.
- Here is an example of the original text in the “Target:” field of a Job Configuration shortcut: “C:\SimpleIndex\Scan and OCR.sic”
- Here is what this section would be changed to for suppressing the prompts:
“C:\Program Files (x86)\SimpleIndex\SimpleIndex.exe” /c:”C:\SimpleIndex\Scan and OCR.sic” /s
- The “/s” in this example is the command to suppress prompts and pop ups in SimpleIndex.
- The path to the Job Configuration file that you want to use will need to be set to the proper destination and filename, including file type extension.
In some cases there will be errors with SimpleIndex or issues without errors that are too general to get the information needed to fix the issue easily. When this happens a very detailed log is needed to determine what exact processes are occurring when the issue happens and which processes are failing. This is done by using the Microsoft Process Monitor to log everything while running SimpleIndex.
The instructions for how to install and run the Process Monitor are below.
- Download the process monitor from Microsoft by clicking HERE and then clicking Download Process Monitor.
- Unzip the “ProcessMonitor.zip” file and save it to any location on the computer running SimpleIndex.
- Run the “Procmon.exe”
- Once the program opens go to the File Menu and uncheck “Capture Events”
- Go to the Edit menu and select “Clear Display”
- Go to the Filter Menu and select Filter
- Set the first drop down to Process Name
- Set the second drop down to Contains
- Type in “Simple” into the third field
- Click Apply then OK
- Go to the File Menu and check “Capture Events”
- Immediately run SimpleIndex with the process that is having the issue exactly as you normally would and let it run until the issue occurs.
- Once the issue occurs go back to the Process Monitor window and then to the File Menu and uncheck “Capture Events”
- Go to the File Menu and select save.
- Use all the defaults to save to a folder that you can easily access and name the file with today’s date.
- Send us this file for review.
SimpleIndex has a variety of processing functions that automatically happen behind the scenes when importing documents to improve the quality and functionality of the images and processing capabilities of the software.
On some occasions these extra processing functions cause delays and conflicts or aren’t needed at all. If these processing functions are causing SimpleIndex to crash or slow down the import processing too much for a particular Job Configuration that can be turned off with a registry setting.
Follow these instructions to add this registry setting:
- Close out of SimpleIndex entirely
- Open the Windows Registry by going to the Windows Search and searching for “RegEdit”
- Go to this location in the Registry Folder Tree: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SimpleIndex\Misc
- In the right section of the Registry window Right Click in the white space and select New>String Value
- Name the new key “FastImport”
- Open the “FastImport” Registry Key, set the value to “1” and then click OK
When working with PDF image files containing a high number of pages (typically in excess of 500, but can vary by file and PC running the job) SimpleIndex may run into performance issues as it attempts to hold all of those pages in memory and perform the requested operations (full-text OCR in particular can tax a system in these circumstances).
Use the Fast Import and Fast Export options to use our new, optimized import and export that can split or merge PDF files with thousands of pages in a matter of seconds. These options disable the optional features that require the slower import and export operations and allow for much faster processing.
Older Versions of SimpleIndex:
A workaround in this scenario is to convert the large PDF to a folder of smaller PDFs files that can be managed more easily. In order to minimize the impact on production and tax the user(s) with extra steps, you can use a third-party splitting tool that can be called from the Command Line. One such option that has worked well is PDFSplitter from CoolUtils
One way to automate this process is to use PDFSplitter’s command line ability in conjunction with SimpleIndex’s Pre-processing function. For simplicity let’s consider a 600 page PDF with a filename generated at the time of scanning using indexes provided on a coversheet or keyed by an operator. The goal now is to take that large file and perform a full-text conversion on it.
PDFSplitter.exe “C:\Images\Smith – John – Medical History.pdf” C:\Images\Pages\ -cp 100
PDFSplitter will run and break that document every 100 pages creating 6 PDFs in the folder C:\Images\Pages. It maintains the original filename, simply adding “001-100” and so on to the name. After PDFSplitter is complete the Full Page OCR job begins its process and, given that the original filename is still part of the split files’ naming schema, it can produce one full-text PDF in the final output folder.
Related Wiki Help Pages:
When using the Simple Software products it can be beneficial to run the software from a command line script. With this you can run other Simple Software Job configurations or Windows Batch Files (.bat) or Task Manager or other command line methods automatically.
You can find sample formats of the command lines for Simple Software products below.
“C:\Program Files (x86)\SimpleIndex\SimpleIndex.exe” /c:”Path to job file”
“C:\Program Files (x86)\SimpleIndex\SimpleSend.exe” “Path to job file” /hide /run
“C:\Program Files (x86)\SimpleIndex\qb\SimpleQB.exe” “Path to job file” /hide /run
/hide and /run in the SimpleSend and SimpleQB examples above hide any windows from being displayed and automatically runs the process respectively.
This is used to closed SimpleIndex after the job has been completed automatically. This can be useful if you only run one batch in SimpleIndex at a time and don’t need it after that batch is complete.
Instructions to Auto-close SimpleIndex when Batch is complete:
- Open the SimpleIndex Job Configuration that you would like to set to auto close when the batch is is complete.
- Open the Job Settings Wizard from the File menu.
- Go to the Advanced Settings step and expand Pre-Process & Post-Process options.
- In the Post-Process field put the following:
taskkill -f -im simpleindex.exe
- Save the Job Configuration.
- Open the Job Options from the File menu
- In the Batch tab put the following in the “Post-Proc” field:
taskkill -f -im simpleindex.exe
- Click OK and then Save from the File menu
Please refer to the Wiki Documentation for the complete Settings Wizard reference.
SimpleIndex jobs can be launched from an icon, just like opening a Word document saved on your desktop. However when you do this the default behavior is to automatically run the job file once it opens in SimpleIndex. If you just want to open the job without running it, follow these instructions:
1. Create a shortcut to the configuration by right clicking on the configuration file and selecting “Create shortcut”
2. Right click on the Shortcut that was just created and saved and select “Properties”
3. In the “Target” field put the following:
“C:\Program Files (x86)\SimpleIndex\SimpleIndex.exe” /c:”<Full Path to Configuration file>” /m
“C:\Program Files (x86)\SimpleIndex\SimpleIndex.exe” /c:”C:\Images\test.sic” /m
If you are getting really weird activations errors where it says the license has already been activated the client has probably put the Workstation serial code in the Concurrent spot that is in the Wizard.
To fix this go to the registry (regedit) here:
Then delete the key called Serial
Please refer to the Wiki Documentation for the complete command line interface reference.
When running multiple jobs in a row or chain with the Post Process Command Line it is possible that an earlier Job in the process won’t have any files. This will stop the Job before reaching the Post Process step and cause later jobs not to run.
This can be corrected by adding an option directly to the XML text of the Job Configuration. This will tell it to keep going to the Post Process step even if there are no files to process in the Job.
- Right click on the Job Configuration file (.sic file format) and select Open With..
- Select Notepad or some other text file opening software.
- Search for this in the text of the file: <POSTPROCEMPTY>false</POSTPROCEMPTY>
- Change the word “false” to the word “true” in that section.
- false = Stop immediately if there are no files to process.
- true = Run the Post Process Command Line even if there are no files to process
- Save the file and close it.
This makes it a must-have tool for IT departments and consultants who often need to:
- Scan and store various documents on network shares or cloud storage
- Organize existing MS Office, PDF and other files on your network
- Attach files to records in a custom database
- Integrate scanning into custom business applications
- Add document capture to Robotic Process Automation bots
- Automate data entry from paper or electronic documents
- Reduce click charges for centralized scanning departments
With a cost and setup time that is negligible compared to other enterprise capture platforms, SimpleIndex makes sense even when your company already has one. For example:
- When SimpleIndex has unique features your other software doesn’t, like Office and PDF text parsing, PDF Bookmarking or Electronic Imprinting.
- When setting up a new workflow requires extensive setup time and management approvals to use the central system.
- When click charges make a project prohibitively expensive.
The wide variety of scanning and indexing tasks you can do with SimpleIndex make it an incredibly useful tool to have in your arsenal.
Find Out More
- Download or get an Online Demo
- SimpleIndex Feature Guide
- Wiki Manual Pages
- Compare Versions & Licensing
KB Articles for Document Management
- Oracle database is slow to respond
- What is Document Imaging?
- Using alternate database schemas
- Multiple Sort Fields on Search
- Access Database Connection String
- How do I delete an image and it's database entry?
- Is it possible to search for and retrieve documents with Windows desktop search?
- Will your SimpleQB allow me to scan in old invoices or bank statements directly into QuickBooks?
- How do I use the Media Wizard to create searchable DVDs or thumb drives?
- How do I export index data to a database?
These videos demonstrate several ways SimpleIndex® can automatically index different types of documents. If you are new to SimpleIndex, watching these videos is the easiest way to see what it can do. You can follow along using the sample files included in the SimpleIndex Trial.
- Zone OCR with template matching
- Document barcode recognition
- PDF OCR text parsing
- Sort and index MS Office documents
- Indexing with full-text OCR
- Running jobs from an icon
The sample files are copied to your Configuration Folder when you run the SimpleIndex Trial for the first time. If you can’t find the samples, copy them with the Global Settings Wizard in the File menu.
Compare Major Scanning Solutions
Integrated Solutions Built with SimpleIndex
Zone OCR with Template Matching
Document Barcode Recognition
PDF OCR Text Parsing
Sort and Index MS Office Documents
Full Page OCR Invoice Processing
- More products from Simple Software.
- How to create searchable PDF files using optical character recognition software?
- Convert scanned documents or PDF files to Excel, Google Sheets, CSV and other spreadsheet formats.
- Creating dataflow from text to Databases.
- Everything about Document Management
- Batch OCR for Full-Text Conversion & Searchable PDF.
- Enterprise OCR Servers let you perform OCR on thousands of documents at a time.
- OCR to process Invoices.
- What is OCR Data Capture?
- But what if I need to process a lot of specific medical forms (CMS 1500, UB-04, or J430 Dental Claims Forms)?
- OCR to process loan forms for Real Estate agents and Mortgage brokers.
KB Articles for Optical Character Recognition
- Language Pack for Standard/Tesseract OCR
- Languages Supported in SimpleSoftware OCR Engines
- What is Document Imaging?
- Change the Dictionary Separator Value
- Change the OCR Font or Type
- Regular Expression (RegEx) - Syntax or Type
- Autonumber Increment Value
- I'm using full page OCR. The information is all appearing in the txt file but it is losing format about half way through. Data to the right is ending up at the end of the txt doc. Can this be fixed?
- Is there a way to just use part of a bar code or OCR value? For example, extract "50" from the value "124450"
- If I have a form which is filled manually by hand, can SimpleIndex read the data from it?