10 Years of Experience in TWAIN SDKs and Version Control Solutions
  •   Sign into hosted web portal  
  • Contact us
Dynamic Web TWAIN - TWAIN ActiveX | Web Scanning Control
 

Testimonials

Dynamic Web TWAIN - TWAIN ActiveX | Web Scanning Control | Scan SDK
TWAIN ActiveX | Web Scanning Control | Scan SDK

FAQ

Questions

General Questions

  1. What is TWAIN?
  2. What is Dynamic Web TWAIN?
  3. What is Dynamic Web TWAIN Mac edition?
  4. What browsers does Mac edition support?
  5. Does the use of the Dynamic Web TWAIN require installation of twain drivers?
  6. For which purposes can I use Dynamic Web TWAIN?
  7. What is the main advantage of Dynamic Web TWAIN compared with other TWAIN which is also designed for web environment?
  8. Who do I contact if I need technical support?
  9. Where can I obtain a test application that uses Dynamic Web Twain?
  10. I would like to request some features in the next version of Dynamic Where do I make these requests?
  11. I have problems. What should I do?
  12. What is Live Help?
  13. What are the major differences between the Virtual Developer Service and usual customer support?
  14. Do you provide sample code? If yes, how can I get it?
  15. What are the differences among ActiveX, Plug-in and Mac Edition?
  16. How to integrate ActiveX, Plug-in and Mac edition?
  17. How to install Mac edition?  

Distribution Questions

  1. How do I distribute my application?
  2. What files I need to include in the setup package of my program?
  3. Where can I find the CAB file, the MSI file, or the PKG file?
  4. How to deploy Dynamic Web TWAIN on Web server?
  5. Can I deploy Dynamic Web TWAIN on Linux? If yes, how to?
     

Features Questions

  1. What operating systems will Dynamic Web TWAIN work with?
  2. What programming languages can Dynamic Web TWAIN ActiveX Edition work with?
  3. Does Dynamic Web TWAIN support Chrome or FireFox?
  4. Does Dynamic Web TWAIN support Database?
  5. Does Dynamic Web TWAIN support SSL?
  6. Can I use FTP upload and download with password?
  7. Can I upload and download images via proxy?
  8. Can Dynamic Web TWAIN work in a class library (DLL) project?
  9. Does Dynamic Web TWAIN support Barcode Reader or OCR?

Programming Questions

  1. How can I acquire black-white images?
  2. How can I work without User Interface?
  3. How can I scan only a part of a picture?
  4. How can I select necessary device without device selection dialog?
  5. How can I disable progress indicator dialog when I acquire images without UI?
  6. How can I set resolution in the X and Y direction separately?
  7. How can I upload acquired image to the Web server?
  8. How to use ADF? We want to save each document in a separate file.
  9. How can I work with SSL?
  10. How can I add a new scanned image to an existed multi-page TIFF file?
  11. How can I rotate an image before I save it?
  12. How can I view a specified image if there are several images in buffer?
  13. How can I do a duplex scan?
  14. How to use Dynamic Web TWAIN in Visual C++ Non-Dialog Based Applications?
  15. How can I scan an inverted image?

Troubleshooting

  1. Why do I fail to download the ActiveX control on the client machine?
  2. Why do I get the error "HTTP process error"?
  3. Why do I get the error "Your trial license has expired"?
  4. Why do I get the error "Class not registered" in Delphi environment when I upgrade the Trial version to Full version?

Purchase and License Questions

  1. Please refer to the Purchase FAQ for more info.

Answers



General Questions

  1. What is TWAIN?

    TWAIN is a protocol and Application Programming Interface (API) that standardizes communication between an application and image acquisition devices such as scanners and digital cameras. This standard allows a developer to make standard calls to any image acquisition device that supports TWAIN. Thus the application would not have to be rewritten to support every device. TWAIN has been in existence since 1992 and is governed by the TWAIN Working Group.

  2. What is Dynamic Web TWAIN?

    Dynamic Web TWAIN has ActiveX, Plug-in and Mac edition.

    ActiveX edition works with Microsoft Internet Explorer (both 32bit and 64bit) and all COM-compatible environment, such as MS Office, VB, VC.

    Plug-in edition works with NPAPI (Netscape Gecko Plug-in API) compatible browsers on Windows platform, such as Chrome, Firefox, Opera, etc...

    Mac edition works with all browsers on Mac OS X platform.

    Dynamic Web TWAIN enables you to acquire images from any TWAIN compatible devices. With the carefully designed interface, and the built-in wizard mode, Dynamic Web TWAIN is very easy to use. You can typically do your TWAIN job in several lines of code. At the same time, Dynamic Web TWAIN is very powerful. It is compatible with TWAIN specification V2.1. It has built-in JPEG encoder and decoder. It supports all three image transfer modes and many other features.

    Dynamic Web TWAIN has many features specifically designed for web environment, such as uploading and downloading images through FTP or HTTP protocol.

  3. What is Dynamic Web TWAIN Mac edition?

    With Mac Edition, users will be able to acquire images via a browser on Mac OS X, edit and save/upload them.

  4. What browsers does Mac edition support?

    It is compatible with browsers including Safari, Firefox, Chrome and Opera on Mac OS X 10.5 or later.

  5. Does the use of the Dynamic Web TWAIN require installation of twain drivers?

    Yes. Dynamic Web TWAIN communicates with the TWAIN driver of a device (scanner/camera/capture card/etc.) to control it to acquire and transfer images, so the driver needs to be installed on client machines.

  6. For which purposes can I use Dynamic Web TWAIN?

    Dynamic Web TWAIN can be used for controlling any work of scanners, digital cameras and any other devices which support TWAIN standard. Dynamic Web TWAIN can upload and download images through FTP or HTTP protocol. Proxy is supported.

    Also, you can use Dynamic Web TWAIN with any COM-compatible development tools, such as VB, VC, C#, VB.NET, Delphi.

  7. What is the main advantage of Dynamic Web TWAIN when compared with other TWAIN which is also designed for web environment?

    The main advantage of Dynamic Web TWAIN is that Dynamic Web TWAIN is a TRUE web scanning solution.

    It is compatible with Internet Explorer, Chrome, Firefox and other browsers.

    It is very small. Absolutely no supporting DLL is needed for distribution.

    Upload and download image through HTTP and FTP.

    Supports TIFF, JPEG, PDF and PNG compression.

  8. Who do I contact if I need technical support?
    • We provide at least 20 hours Live Support per weekday. Live Support is an online chat service for our customers to interact with our support professional in real time.
    • You can email our support team. Our email address for TWAIN family products is

  9. Where can I obtain a test application that uses Dynamic Web Twain?

    The Online Demo of Dynamic Web TWAIN is available at WebTWAIN_Demos. You
    can also find a local demo and visual studio demo (source code included) under
    the installation folder of Dynamic Web TWAIN trial version.

  10. I would like to request some features in the next version of Dynamic Where
    do I make these requests?

    If you have any requirement, please contact us by email. Your request is very important to us. Our email address for TWAIN family products is

  11. I have problems. What should I do?

    The information on most of questions can be found in the documentation or in this FAQ.
    Write to our support team to get more help. Our email address of support team is

  12. What is Live Help?

    Dynamsoft is committed to providing the best customer support in the industry. Our support team is ready to offer no time limit, high quality, friendly and responsively technical support for our valued registered users.

    We provide at least 20 hours Live Support per weekday. Live Support is an online chat service for our customers to interact with our support professional in real time.

    • Recognizing our world wide customers locate in different time zones, we proudly provide at least 20 hours Live Chat Support (Live Help) each day from Monday to Friday.
    • If you visit between Monday and Friday, and happen to see our Live Help support professional is offline, please wait a moment and our support professional will be with you shortly.
    • When the Live Help support professional is offline, you can also leave a message and we would response promptly.
  13. What are the major differences between the Coding Service and usual customer support?
    • With the Virtual Developer Service, we can be involved in your project as much as needed. We take part in your project from requirement analysis to completion.
    • With the Virtual Developer Service, we communicate with you closely, analyze your requirements, propose tech solutions, write the code, help you integrate the code in your project, do the test and maintenance.
    • With standard customer support, you usually need a developer working on the TWAIN module who would then ask questions to our technical support team. With the Virtual Developer Service, you do not need a developer working on the TWAIN module and our developers participate in your project as a team member.
  14. Do you provide sample code? If yes, how can I get it?

    If you need a sample of Dynamic Web TWAIN, please access the following page to download samples.
    http://www.dynamsoft.com/Downloads/WebTWAIN-Sample-Download.aspx

  15. What are the differences among ActiveX, Plug-in and Mac Edition?

    ActiveX Edition works as an ActiveX control in IE (32-bit and 64-bit) on Windows; Plugin Edition works with Firefox, Chrome, Safari, Opera, and etc on Windows; Mac Edition works with Firefox, Chrome, Safari and Opera on Mac OS X. See the edition comparision chart

  16. How to integrate ActiveX, Plug-in and Mac edition?

    To integrate ActiveX, Plug-in and Mac editions in your scanning application, please refer to http://kb.dynamsoft.com/questions/635/How+to+support+multi+browsers+in+one+scan+page%3F

  17. How to install Mac edition?

    Please refer to 'How to install Dynamic Web TWAIN Mac Edition for web application end users?'.


Distribution Questions:

  1. How do I distribute my application?

    Only DynamicWebTwainCtrl.dll (including cab file), DynamicWebTwain.xpi, DynamicWebTwain.msi and DynamicWebTWAINMacEdition.pkg can be distributable with end user application. All other files and documentations can NOT be distributed.

    YOU MUST NOT DISTRIBUTE ".LIC" FILE OF DYNAMIC WEB TWAIN.

    Dynamic Web TWAIN is very easy to distribute. Since Dynamic Web TWAIN is developed directly with pure Win32 API and assembly language, no additional supporting DLL or file is needed to distribute Dynamic Web TWAIN.

    Please refer to the License Agreement for more info.

  2. What files I need to include in the setup package of my program?

    You need DynamicWebTwain.cab (32bit), DynamicWebTwainx64.cab (64bit), DynamicWebTWAINPlugin.msi and DynamicWebTWAINMacEdition.pkg in the setup package only.

  3. Where can I find the CAB file, the MSI file, or the PKG file?

    These files can be found in the installation directory of Dynamic Web TWAIN.

  4. How to deploy Dynamic Web TWAIN on Web server?

    please refer to Deploying Dynamic Web TWAIN on Web Server for more info.

  5. Can I deploy Dynamic Web TWAIN on Linux? If yes, how to?

    Yes, Dynamic Web TWAIN can be deployed on Linux.

    • Install the Dynamic Web TWAIN on Windows.
    • Place the CAB, XPI, MSI, PKG files into the directory of Web server on Linux.

    For more information on how to deploy Dynamic Web TWAIN on Web server, please refer to Deploying Dynamic Web TWAIN on Web Server.


Question on Features

  1. What operating systems will Dynamic Web TWAIN work with?

    Dynamic Web TWAIN supports Windows (Windows 95, 98, ME, NT, XP, 2000, 2003, Vista, 7 and 8) and Mac OS X (10.5 or later version).

  2. What programming languages can Dynamic Web TWAIN ActiveX Edition work with?

    Dynamic Web TWAIN ActiveX Edition can be used in any COM-enlightened program languages, such as C#, VB.NET, Visual C++, Visual Basic, Delphi, HTML/VBScript/JavaScript, and PowerBuilder and so on.

  3. Does Dynamic Web TWAIN support Chrome or FireFox?

    Yes. Dynamic Web Edition Plug-in Edition works with Chrome, Firefox and other NPAPI (Netscape Gecko Plug-in API) compatible browsers.

  4. Does Dynamic Web TWAIN support Database?

    Yes. Dynamic Web TWAIN is able to save image files to the file system and database.

  5. Does Dynamic Web TWAIN support SSL?

    Yes. Dynamic Web TWAIN supports SSL.

    For the information on how to work with SSL, please refer to How can I work with SSL.

  6. Can I use FTP upload and download with password?

    Yes. You can use the FTPUserName property and the FTPPassword property.

  7. Can I upload and download images via proxy?

    Yes. You can use the ProxyServer property.

  8. Can Dynamic Web TWAIN work in a class library (DLL) project?

    Dynamic Web TWAIN is not able to.

  9. Does Dynamic Web TWAIN support Barcode Reader or OCR?

    No. But Barcode Reader and OCR is supported in ImageCapture Suite (which can be upgraded from Dynamic Web TWAIN). You can try the online demo here.


Programming Questions

  1. How can I acquire black-white images?

    DWObject.OpenSource();
    DWObject.IfShowUI = false;
    DWObject.IfDisableSourceAfterAcquire = true;
    DWObject.PixelType = 0; //Black - White image : 0, GRAY image: 1, RGB 
    image: 2
    
    DWObject.AcquireImage();
  2. How can I work without User Interface?
    function BeginScan(){
        DWObject.OpenSource();
        DWObject.IfShowUI = false; //set without user interface
        DWObject.IfDisableSourceAfterAcquire = true;
    
        DWObject.AcquireImage();
    }
    
    function DWObject_OnPostTransfer(){
        DWObject.SaveAsBMP ("c:\temp.bmp", 0);
    }
  3. How can I scan only a part of a picture?
    DWObject.SelectSource();
    DWObject.OpenSource();
    
    DWObject.IfShowUI = false;
    
    //Set Image Layout
    DWObject.Unit = 0; //INCHES
    DWObject.SetImageLayout(0, 0, 5, 5);
    
    DWObject.AcquireImage()                        
  4. How can I select necessary device without device selection dialog?

    DWObject.OpenSourceManager();
    
    for(i = 0, i<=DWObject.SourceCount - 1,i++){
        If (DWObject.GetSourceNameItems(i) == "Specified device name")
            DWObject.SelectSourceByIndex (i);
    }
    
    //if can't find the specified source, it'll select default source
    DWObject.AcquireImage();                        
  5. How can I disable progress indicator dialog when I acquire images without UI?
    DWObject.IfShowUI = false;
    DWObject.IfDisableSourceAfterAcquire = true;
    
    DWObject.OpenSource();
    DWObject.IfShowIndicator = false;
    
    DWObject.AcquireImage();                        
  6. How can I set resolution in the X and Y direction separately?
    DWObject.SelectSource();
    DWObject.OpenSource();
    
    //Set XRESOLUTION current value.
    DWObject.Capability = 0x1118; //ICAP_XRESOLUTION
    DWObject.CapType = 5; //TWON_ONEVALUE
    DWObject.CapValue = 300;
    If (DWObject.CapSet == false){
        alert( "Failed to set the x-resolution. " + DWObject.ErrorString);
    }
    
    //Set YRESOLUTION current value.
    DWObject.Capability = 0x1119; //ICAP_YRESOLUTION
    DWObject.CapType = 5; //TWON_ONEVALUE
    DWObject.CapValue = 200;
    If (DWObject.CapSet == false){
       alert( "Failed to set the y-resolution." + DWObject.ErrorString);
    }
    
    DWObject.AcquireImage();                        
  7. How can I upload acquired image to the Web server?
    DWObject = document.getElementById("iDynamicWebTwain");//iDynamicWebTwain is the 
    id of the Dynamic Web TWAIN on the page (An object or an embed).
    function btnScan_onclick() 
    {
    DWObject.SelectSource();
    DWObject.OpenSource();
    DWObject.AcquireImage();
    }
    function btnUpload_onclick() 
    {
    var strActionPage;
    var strHostIP;
    var CurrentPathName = unescape(location.pathname); // get current PathName in 
    plain ASCII 
    var CurrentPath = CurrentPathName.substring(0, CurrentPathName.lastIndexOf("/") 
    + 1); 
    strActionPage = CurrentPath + "SaveToFile.aspx"; //the ActionPage's file path
    strHostIP = "localhost"; //The host's IP or name 
    DWObject.HTTPPort = 80; 
    DWObject.HTTPUploadThroughPost(strHostIP,0,strActionPage,"imageData.tif");
    if (DWObject.ErrorCode != 0)
    alert(DWObject.ErrorString);
    else //succeded
    alert("Image Uploaded successfully");
    }                         
  8. How to use ADF? We want to save each document in a separate file.
    var iDocumentCounter =0;
    
    function BeginScan(){
        DWObject.OpenSource();
    
        DWObject.IfShowUI = false;
        DWObject.IfDisableSourceAfterAcquire = true;
        If(DWObject.Duplex != 0)
            DWObject.IfDuplexEnabled = true; //enable duplex
    
    DWObject.IfFeederEnabled = true;
        If (DWObject.IfFeederEnabled == true){
             DWObject.XferCount = -1;
             DWObject.IfAutoFeed = true; //auto feed 
    
             If(DWObject.IfFeederLoaded == True)
                 DWObject.AcquireImage();
        }
    }
    
    function DWObject_OnPosttransfer(){
    iDocumentCounter = iDocumentCounter + 1;
    
    If(DWObject.SaveAsBMP("c:\Image\" + iDocumentCounter + ".bmp", 0) == false)
        alert( DWObject.ErrorString);
    }
  9. How can I work with SSL?

    You can use the IfSSL property.

    The following JavaScript Sample shows how to use IfSSL property.

    function btnUpload_onclick() 
    {
       DWObject.HTTPPort = 80; 
       DWObject.IfSSL = false; // if 80 is the port number of 
    non-secure port
    
       /* 
       DWObject.HTTPPort = 443; 
       DWObject.IfSSL = true; // if 443 is the port number of secure 
    port
       */
    
       DWObject.HTTPUploadThroughPost("127.0.0.1", 0, 
    "/SaveToFile.php", "imageData.jpg");
    
       if (DWObject.ErrorCode != 0)
          alert(DWObject.ErrorString);
       else //succeded
         alert("Successful");
    }
  10. How can I add a new scanned image to an existed multi-page TIFF file?
    function Scan_Click(){
       DWObject.AcquireImage();
    }
    
    function DWObject_OnPostTransfer(){
       DWObject.CloseSource();
    
       DWObject.IfTiffMultiPage = true;
       DWObject.SaveAsTIFF("SaveAsTIFF.tif", 0);
    
       if (DWObject.ErrorCode != 0)
          alert (DWObject.ErrorString);
       else //succeded
          alert ("Successful");
    }
  11. How can I rotate an image before I save it?

    You can use the RotateLeft property and the RotateRight property.

  12. How can I view a specified image if there are several images in buffer?

    You can view a specified image or go through all the images in buffer with clicking "NextImage" or "PreImage" buttons.

    function NextImage_Click(){
       If (DWObject.HowManyImagesInBuffer == 0) 
          alert ("There is no image in buffer");
    
       DWObject.CurrentImageIndexInBuffer = 
    DWObject.CurrentImageIndexInBuffer + 1;
    }                    
  13. How can I do a duplex scan?
    function DuplexScan_Click(){
    
       DWObject.SelectSource();
       DWObject.OpenSource();
    
       DWObject.IfDuplexEnabled = true; //enable duplex
    
       DWObject.AcquireImage();
    }                    
  14. How to use Dynamic Web TWAIN in Visual C++ Non-Dialog Based Applications?

    1. Adding Dynamic Web TWAIN to a Visual C++ Project.
    2. Adding Code to the Project.

  15. How can I scan an inverted image?

    You can use the PixelFlavor property.


Troubleshooting

  1. Why do I fail to download the ActiveX control on the client machine?

    Please check this article for solution.

  2. Why do I get the error "HTTP process error"?

    Please check this article for solution.

  3. Why do I get the error "Your trial license has expired"?

    Please check this article for solution.

  4. Why do I get the error "Class not registered" in Delphi environment when I upgrade the Trial version to Full version?

    Please try the steps as follows.

    • Find the 'dclusr.dpk' file in the "Lib" folder under the installation directory of Delphi and then open it with Delphi.
    • Right click the "DYNAMICWEBTWAINCTRLLib_TLB.dcr" file and select "Remove From Project". Also, do the same operation to the "DYNAMICWEBTWAINCTRLLib_TLB.pas" file.
    • Click the "Compile" icon.
    • Save the 'dclusr.dpk' file before closing it.

 
Copyright © 2003 - 2014 Dynamsoft. All Rights Reserved. Privacy Statement | Site Map