Pdftools OCR Service licensing
By default, the Pdftools OCR Service requires a network connection to validate the license key with the Pdftools Licensing Service. Or, you can configure the Pdftools OCR Service to run without a network connection. For more information, see Configure offline license key validation.
For information about using the Pdftools OCR Service, review Pdftools OCR Service documentation.
Configure offline license key validation
If you need the Pdftools OCR Service to operate without a direct internet connection to verify the license key, set up the Licensing Gateway Service (LGS).
With the LGS, you can configure the Pdftools OCR Service to:
- Use a partially offline mode called connected mode. For more information, review Connected mode.
- Use full offline mode. For more information, review Full offline mode.
Configuration in connected mode and full offline mode
Prerequisites
To let the Pdftools OCR Service operate without a continuous internet connection, install and configure the LGS. Review Connected mode, or Full offline mode for specific guidance.
Procedure
After configuring the LGS with the Pdftools OCR Service using the connected mode or full offline mode, follow these steps:
- Find your worker node’s
appsettings.json. The following is the default path of the worker configuration file:C:\Program Files\Pdftools\Pdftools OCR Service\PdftoolsOcrWorker\appsettings.json - Edit the
LgsURLparameter value to point to the machine where you configured the LGS. The default value is:"LgsURL": "http://localhost:9999"
For more information, review Default appsettings.json in the Pdftools OCR Service documentation.