1. Subject and purpose of the document
- The purpose of this document is to describe the procedure for commissioning and using the Scan2NG application in the NET Genium system environment. Scan2NG allows its users to scan documents directly to NET Genium without the need for additional applications or saving scanned files to disk.
2. Simplified procedure
- The Scan2NG application can be used provided that:
- NET Genium is running in a web browser,
- the scanner you are using has a “Windows Image Acquisition” (WIA) driver installed,
- the user has access to the “Document” form in NET Genium.
- 1. Install the scanner on your computer
- 2. Check for the presence of the WIA driver
- 3. Download Scan2NG from https://www.netgenium.com/download/Scan2NGv2.msi
- 4. Install Scan2NG on your computer
- 5. Scanning documents to NET Genium
3. Install the scanner on your computer
- The scanner can be connected to the computer with a cable, or it can be on the same network as the computer. In addition to the physical connection to the computer, drivers that ensure that the scanner functions properly must also be installed on the computer. The drivers are usually shipped on an optical medium with the scanner or are freely available for download from the manufacturer's official website. When installing the driver itself, it is necessary to follow the wizard, which will ensure the correct installation of the respective driver.
- The OKI MC562 multifunction scanner was used for the purposes of this manual. The device manufacturer offers several types of drivers when installing from optical media. The driver for the scanner is labeled “OKI-MC562-468907”.
4. Checking for the presence of the “WIA” driver
- “WIA” or “Windows Image Acquisition” is a driver that generally allows documents to be scanned without the need for a special program. After installing the scanner driver, it is possible to test whether the driver supports WIA within the Windows operating system. The “Fax and Scan” application can be used for this purpose.
- The “Fax and Scan” application can be started, for example, via a Windows search by typing “Fax and Scan” into the search box. Windows should offer the application to open.

- After the “Fax and Scan” application opens, the “Scan” mode is set by clicking the “Scan” button.

- Pressing the “New Scan” button connects to the appropriate scanner and displays the scan settings options.

- If the “New Scan” window below does not appear, it means that the “WIA” driver is not installed on the computer or that the scanner does not support this driver. After pressing the “Scan” button, the scan itself should be performed, with the scanner set to scan.

5. Download Scan2NG
- Scan2NG can be downloaded from https://www.netgenium.com/download/Scan2NGv2.msi.
6. Install Scan2NG
- The user will be guided through the installation of the Scan2NG application by a clear wizard.
- The initial page of the Scan2NG installation is confirmed with the “Next” button.

- On the next page, the directory in which the Scan2NG application will be installed is selected or confirmed, and the installation continues with the “Next” button. The application is installed for all users of the computer.

- The “Install” button starts the installation. The installation requires administrator privileges, which Windows asks for.

- The “Finish” button closes the installation wizard. After the installation is completed, Scan2NG starts automatically and opens the scanner settings dialog box (chapter 7.2).

7. Document scanning
7.1. Start Scan2NG
- The application is started with the “Scan2NG” shortcut that the installation creates on the desktop.

- As long as Scan2NG has no saved settings (the “Scan2NG.ini” configuration file), it registers the “Scan2NG” protocol in Windows on start, through which NET Genium starts it, unless the protocol is already registered. If the protocol is not registered yet, the application must run with administrator privileges. Otherwise it displays a message that the first start of the application must be performed by an administrator and exits. Once the “Scan2NG.ini” file exists, the application checks neither the protocol nor the privileges.
7.2. Scanner settings
- After starting the application, it is necessary to set the application “Scan2NG”.
- The newly opened dialog box sets the scanner parameters, such as the scanner, “Podavač” (feeder), “Rozlišení [DPI]” (resolution), “Kvalita [%]” (quality), “Světelnost” (brightness) and “Kontrast” (contrast). The application is available in Czech only. The “Podavač” field is a relatively important setting, because it depends on the type of scanner used for scanning. If the scanner can automatically scan multi-page documents, the correct value is “Feeder”, which is the default. If the scanner cannot change the scanned pages automatically and needs assistance, the correct value is “FlatBed”. The “FlatBed” value scans a single page per scan. An incorrect value of the “Podavač” (feeder) field may result in an error when scanning. The correct value then has to be set in the Scan2NG settings.

- After clicking the “OK” button, the “Scan2NG” application is set up. The settings are saved to the “Scan2NG.ini” configuration file in the “Config” subdirectory of the directory where Scan2NG is installed. If this file is deleted, the scanner must be set up again. If the “Scan2NG.ini” file does not exist and the application directory contains configuration files of an older version (“Device.txt”, “Handling.txt”, “Resolution.txt”, “Quality.txt”, “Brightness.txt”, “Contrast.txt” and “QueueDirectory.txt”), the application takes over their settings, saves them to the “Scan2NG.ini” file and deletes the files.
Details
- The “Limit” and “Adresář” (directory) fields apply only when a form asks Scan2NG to insert previously scanned files from a directory instead of scanning. The application then inserts all files from the directory specified in the “Adresář” field (the default is the “Queue” subdirectory of the application directory) into the form and deletes them from the directory after inserting them. The “Limit” field specifies the maximum number of attachments in the form in case the form itself does not pass it to the application (the default value is 20). If the number of files in the directory together with the attachments the form already contains would exceed this limit, the application inserts nothing and displays a message. If the directory is empty, the application also inserts nothing and displays a message that the directory with the scanned documents is empty. A form can also ask the application to delete all files in the directory.
- The directory specified in the “Adresář” (directory) field must exist and the Windows user must have the right to read and delete files in it. If it does not exist, the application inserts nothing and reports that an error occurred while reading the scanned documents from the directory. The installation does not create the default “Queue” subdirectory, and a regular user has no right to write or delete in the “Program Files” directory, where the application is installed by default. For inserting from a directory, another directory therefore has to be specified in the “Adresář” field, or the “Queue” subdirectory has to be created and permissions for users set on it.
- If the “Podavač” field is set to “Feeder” and the application scans no page from the feeder (for example when the feeder is empty), it scans one page from the flatbed scanner.
7.3. Scanning in the “Document” form
- The “Scan2NG” application is used in NET Genium in the “Document” form. For this reason, this form has to be opened.

- The “Document” form includes a “Scan attachments using Scan2NG” button, which scans the document in paper form on the selected and set scanner in cooperation with the running “Scan2NG” application. The newly created document in “pdf” format is then saved in the open “Document” form in the first free attachment (for example “Attachment 1”). Up to 5 attachments can be inserted into the “Document” form.
- For a server it has not worked with yet, the Scan2NG application asks whether it may send scanned documents to it and displays its address. After confirmation it remembers the server and does not ask again. Declining ends the scanning. The application communicates only with servers with a secure connection (https).
Details
- Without a secure connection, the application works only with a local development server (the address “localhost”, a loopback address such as 127.0.0.1, or an address ending with “.localhost”). For another server without https it reports an invalid server address and sends nothing. The list of allowed servers is stored in the application settings and applies to all users of the computer. If the server redirects a request to another server, the application does not send the scanned documents to it and reports where the redirect led.

8. Problem solving
- If chapter 7.2 of the procedure is skipped, Scan2NG displays a message that the scanner is not set up when the “Scan attachments using Scan2NG” button is pressed.

- If the “Podavač” (feeder) field has the wrong value, Scan2NG displays the following message when trying to scan a document. In this case, the value has to be corrected in the scanner settings 7.2.

- If the number of free attachments is already exhausted at the time of scanning, NET Genium will warn the user that it is not possible to save the scanned document.

- If the scanner scans no page, Scan2NG reports that an error occurred while downloading the scanned documents from the scanner driver and that the scanner returned no images.
- If Scan2NG cannot find the scanner selected in the settings, it reports that an error occurred while downloading the scanned documents from the scanner driver and that the scanner could not be found. In this case, the scanner has to be selected again in the scanner settings (chapter 7.2).
- If Scan2NG is started again while a previous instance is still running, it displays a message that the application is already running and scanning previous documents, and it does not scan. If scanning freezes, the “Scan2NG.exe” process has to be ended in Task Manager on the “Details” tab.
- If Scan2NG does not respond within 30 seconds, the “Document” form gives up the scanning and displays a message that scanning requires the Scan2NG application to be installed. The form displays the same message also after the message that the scanner is not set up, or that the link contains an invalid server address.