VintaSoft Twain .NET SDK 15.0: 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 local TWAIN and SANE 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 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 your 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 your 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 your 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 your 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 local TWAIN and SANE devices.

    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.



    7. Troubleshooting

    7.1 VintaSoft Web TWAIN service is not available

    If you have installed VintaSoft Web TWAIN service (Linux edition) to your Linux computer, but still see the error message that service is not available, please do the following steps:

    7.2. TWAIN/SANE scanner works not correctly

    If VintaSoft Web TWAIN service (Linux edition) is working, but you have a problem with TWAIN scanner, we recommend you to try the following things:
    1. Get the latest version of TWAIN/SANE driver for your TWAIN/SANE scanner from the web site of scanner manufacturer and re-install the TWAIN/SANE 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.

    If you can get device list in your web application but you cannot acquire images from SANE device, 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 scanner using "xsane".

    2. If "xsane" cannot acquire images from your SANE device, you need try to 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.