VintaSoft Twain .NET SDK 15.4: Documentation for Web developer
In This Topic
Vintasoft Web TWAIN service (Linux edition)
In This Topic
VintaSoft Web TWAIN service (Linux edition) is the Linux service that provides Web API for accessing TWAIN, SANE and eSCL image scanners for all users of Linux computer.

VintaSoft Web TWAIN service (Linux edition) is a native Linux application, which is compiled using .NET 8.0, and it can be used on Linux (Ubuntu 23/22/20/18; Debian 12/11/10; Fedora 39/38/37/36) computer.

VintaSoft Web TWAIN service (Linux edition) provides the access to 64-bit TWAIN and SANE image scanners, eSCL image scanners.

VintaSoft Web TWAIN service (Linux edition) can be accessed via HTTPS protocol using URL "https://localhost:25329/api/VintasoftTwainApi" or via HTTP protocol using URL "http://localhost:25319/api/VintasoftTwainApi".
Network ports 25319 and 25329 can be changed after installation of VintaSoft Web TWAIN service (Linux edition).


1. Installation of Vintasoft Web TWAIN service (Linux edition) to a Debian/Ubuntu computer

For installing VintaSoft Web Twain service (Linux edition) to the Debian/Ubuntu computer you should do the following steps:

2. Uninstallation of Vintasoft Web TWAIN service (Linux edition) from Debian/Ubuntu computer

For uninstalling VintaSoft Web Twain service (Linux edition) from the Debian/Ubuntu computer you should do the following steps:

3. Installation of Vintasoft Web TWAIN service (Linux edition) to a Fedora computer

For installing VintaSoft Web Twain service (Linux edition) to the Fedora computer you should do the following steps:

4. Uninstallation of Vintasoft Web TWAIN service (Linux edition) from Fedora computer

For uninstalling VintaSoft Web Twain service (Linux edition) from the Fedora computer you should do the following steps:

5. Initialization of Vintasoft Web TWAIN service (Linux edition)

Vintasoft Web TWAIN service (Linux edition) has initialization file - "VintasoftWebTwainService.ini" file, which is located in folder "/opt/vintasoft/VintasoftWebTwainService/".
"VintasoftWebTwainService.ini" file can contain the following settings:

6. Getting information about the status of Vintasoft Web TWAIN service

Vintasoft Web TWAIN service (Linux edition) consists from web TWAIN service (files VintasoftAspNetCoreTwainService64 and VintasoftAspNetCoreTwainService64.dll), which serves web requests to TWAIN, SANE and eSCL image scanners.

Information about status of web TWAIN service (VintasoftAspNetCoreTwainService64 file) is saved into log-file "/opt/vintasoft/VintasoftWebTwainService/logs/VintasoftAspNetCoreTwainService64.log".

Debug information about work with 64-bit TWAIN devices is saved into log-file "/opt/vintasoft/VintasoftWebTwainService/logs/VSWebTwainService64-debug.log" if TWAIN logging is enabled.
Debug information about work with 64-bit SANE devices is saved into log-file "/opt/vintasoft/VintasoftWebTwainService/logs/VSWebSaneService64-debug.log" if TWAIN logging is enabled.
Debug information about work with eSCL devices is saved into log-file "/opt/vintasoft/VintasoftWebTwainService/logs/VSWebEsclService-debug.log" if TWAIN logging is enabled.



7. Troubleshooting

7.1 VintaSoft Web TWAIN service (Linux edition) is not available

If you have installed VintaSoft Web TWAIN service (Linux edition) to your Linux computer, but see the error message that service is not available, please open web page "https://localhost:25329/api/VintasoftTwainApi/Status" and see information about VintaSoft Web TWAIN service.
If web page is not available, please check that VintaSoft Web TWAIN service is installed on your Linux computer.
If web page is available but you see the connection warning from the web browser - you have problem with SSL certificate for "localhost" web site.
Please contact VintaSoft support team if you cannot solve the problem.

7.2. Problems with TWAIN image scanners

If you do not see the TWAIN image scanner in device list, please do the following steps:
  1. Run "lsusb" command in console and check if printed USB-device list contains name of TWAIN image scanner. If name of TWAIN image scanner is not present in the list of USB devices, please check the USB connection with TWAIN image scanner.
  2. Make sure you have the TWAIN driver for your TWAIN image scanner.

If you see the TWAIN image scanner in device list but TWAIN image scanner works not correctly, please do the following steps:
  1. Get the latest version of TWAIN driver for your TWAIN image scanner from web site of TWAIN image scanner manufacturer and re-install the TWAIN driver.
  2. Make sure you have the latest version of VintaSoft Web Twain service (Linux edition).
  3. If you still have the problem, please send information about your problem to our support team and we will try to help you.
    We need:
    • Snippet of your code. Working project which demonstrates the problem will be welcome.
    • Log-file generated by VintaSoft Web Twain service. Please read how to enable logging for VintaSoft Web Twain service (Linux edition) in "Initialization of Vintasoft Web TWAIN service" section above.

7.3. Problems with SANE image scanners

If you do not see the SANE image scanner in device list or SANE image scanner works not correctly, please do the following steps:
  1. Install "xsane" application if "xsane" is not installed on your Linux computer. Run "xsane" application and try to acquire images from your SANE image scanner using "xsane".
  2. If "xsane" cannot find your image scanner or cannot acquire images from your SANE device, you need try to install/update SANE driver for your SANE image scanner.
  3. If "xsane" can acquire images from your SANE device, make sure you have the latest version of VintaSoft Web Twain service (Linux edition).
  4. If you still have the problem, please send information about your problem to our support team and we will try to help you.
    We need:
    • Snippet of your code. Working project which demonstrates the problem will be welcome.
    • Log-file generated by VintaSoft Web Twain service. Please read how to enable logging for VintaSoft Web Twain service (Linux edition) in "Initialization of Vintasoft Web TWAIN service" section above.

7.4. Problems with eSCL image scanners

If you do not see the eSCL image scanner in device list, please do the following steps:
  1. Get IP-address of your Linux computer, get IP-address of eSCL image scanner and make sure that both IP-address are belong to the same network.
  2. Try to use "ping" command to check the network connection with eSCL image scanner.

If you see the eSCL image scanner in device list but eSCL image scanner works not correctly, please do the following steps:
  1. Make sure you have the latest version of VintaSoft Web Twain service (Linux edition).
  2. If you still have the problem, please send information about your problem to our support team and we will try to help you.
    We need:
    • Snippet of your code. Working project which demonstrates the problem will be welcome.
    • Log-file generated by VintaSoft Web Twain service. Please read how to enable logging for VintaSoft Web Twain service (Linux edition) in "Initialization of Vintasoft Web TWAIN service" section above.