Switch driver options INI files when using different check scanner models?
Question: Can I switch Ranger driver options files based on the
scanner model? I would like to use one file when connected to a Digital
Check TS 230 or TS 240 scanner, and a different driver options file
when connected to a TS 4120.
Answer:
"Ranger for Digital Check TS-series" supports the following check scanner models:
TS200, TS210, TS215, TS220, TS230, TS240, TS300, TS350, TS400, TS500, TS4120, CX30, and BX7200
![](https://static.zohocdn.com/zoho-desk-editor/static/images/info.png)
You can tell Ranger to switch driver options file by calling:
Ranger.SetDriverOptionsFileName(<file\path>)
With this in mind, I would take the following approach:
- Save a copy of the "DigitalCheck-TSSeries.ini" file, that you would
like to use with TS 230/240 scanners, and rename it to something like
"DriverOptions_TS230_TS240.ini". Then copy the new INI file to one of
your application folders.
- On Windows 10 and later, the default location of is:
- C:\ProgramData\Silver Bullet Technology\Ranger\Scanner Plug-ins\DigitalCheck-TSSeries\DigitalCheck-TSSeries.ini
- Repeat this step for the TS-4120. Make another copy of
"DigitalCheck-TSSeries.ini" and rename it to something like
"DriverOptions_TS4120.ini". Then copy the new INI file to one of your
application folders.
- After calling Ranger.Startup(), wait until Ranger reaches the "ChangeOptions" state.
- In your application code, obtain the scanner model by calling:
ModelName = Ranger.GetTransportInfo("General", "Model")
Then tell Ranger which driver options INI file you would like to use, based on the model name, by calling:
![](https://static.zohocdn.com/zoho-desk-editor/static/images/caution.png)
Please note: Ranger only reads from its INI files when you call:
When
multiple check scanning applications are installed on the same
workstation, and they both write to the same default Ranger INI files,
you can never be sure which options the other application set.
Because
of this possibility, it is best to make and use a private copy of
Ranger's default INI files. Use the following calls to point Ranger to
your private files:
- Ranger.SetGenericOptionsFileName(<file\path>)
- Ranger.SetDriverOptionsFileName(<file\path>)
Related Articles
Where are the Ranger INI files located?
Where are the Ranger configuration files located on Windows? Ranger configuration file names include: "GenericOptions.ini" "[Driver]Options.ini" (CR180Options.ini, MVXOptions.ini, etc.) "TransportInfo.ini" Filepath for Configuration files: Ranger ...
How can I set CAPI Ini file options through Ranger?
The application can set the following values with the call to "SetDriverOption". After calling "EnableOptions" these options will be copied to the corresponding CAPI ini files. Use caution when setting these vales as they will overwrite the options ...
Where are the Ranger INI files located at on Mac?
On Mac, INI files should be located in a hidden folder in the user's Home directory: "Users/[User's Name]/.Silver Bullet Technology/Ranger/[Scanner Name]" If the ".Silver Bullet Technology" folder is not found in the user's Home directory, hidden ...
Logging Ranger 4.5+ to Disk via INI files
As of version 4.5, Ranger can log to disk via options set in the 'C:\ProgramData\Silver Bullet Technology\Logging\Ranger\Ranger.ini' file. In order to enable logging to disk automatically, ensure the following values are set in the Ranger.ini ...
What are the page options for the SmartSource Adaptive scanner?
Below are the page options available for the SmartSource Adaptive. An example of a page is an item that is 8.5"x11". These settings should be modified through the Ranger CapiOptions.ini as linked below. Do not directly change CapiImage.ini. ...