How can I set CAPI Ini file options through 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 that Ranger sets in normal operation.

CapiOptions.ini file:
  1. //-----------------------------------------------------------------------------------
  2. // This section allows you to directly set CAPI INI option.
  3. // The CAPI options are enabled when you call Ranger.EnableOptions().
  4. //
  5. // The format for a CAPI INI option is:
  6. //    FILE_TYPE.SECTION_NAME.VALUE_NAME=VALUE
  7. //
  8. // Where:
  9. //   FILE_TYPE: Indicates which CAPI INI file that the value resides in.
  10. //              Recognized values are: READER, IMAGE, ENDORSER and POCKET.
  11. //
  12. //   SECTION_NAME: This is the INI section name for the value in the CAPI INI file.
  13. //
  14. //   VALUE_NAME: This is the INI value name in the CAPI INI file.
  15. //
  16. //   VALUE: This is the value to write to the CAPI INI file.
  17. // --------------------------------------------------------------------------
  18. // Example:  This example tells Ranger to set the CAPI endorser INI option called
  19. //           "PAGEPRESETFRANK" in the section "[MJEREAR]".
  20. //
  21. // [CAPI INI]
  22. //
  23. //  ENDORSER.MJEREAR.PAGEPRESETFRANK = 1
  24. //
  25. //-----------------------------------------------------------------------------------
  26. [CAPI INI]
Normal mapping of the FILE_TYPE:

READERCapiReader.ini
IMAGECapiImage.ini
ENDORSERCapiEndorse.ini
POCKETCapiPocket.ini


Ranger® - The universal check scanner interface
Copyright © 2023 Silver Bullet Technology
www.sbullet.com



    • Related Articles

    • 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 ...
    • How can I test my unique options with Ranger Flex?

      The version of Ranger Flex that comes with Ranger 3.0.1 and later will allow you to set your unique options. You can also test your unique options by setting them manually in your PluginName.ini file before running Ranger Flex. Ranger® - The ...
    • 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 ...
    • How is the TransportInfo.ini file used?

      Things you should know about the TransportInfo.ini file: Applications use the TransportInfo.ini file to query the capabilities of your check scanner. Ranger creates this file from the information in the XML structure that you create in your plug-in's ...
    • 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 ...