If you encounter a TWAIN acquisition problem with a device (scanner, digital camera or capture card), please follow these steps in order to get support.
- Check you are using the latest version of the Toolkit you are using. See: http://www.gdpicture.com/softwares.php
- If your program is running under Win Vista or later check you are using the latest TWAIN Data Source manager. You can download it from http://sourceforge.net/projects/twain-dsm/
- Check your are using the latest TWAIN driver's version of your device.
- If your device can be controlled by both WIA bridge from Microsoft & the TWAIN driver of the supplier, you have to use the TWAIN driver (else you will have problems to control the document feeder).
- Check your application is targeted to x86 processor. If you are using x64 or AnyCPU on 64-bit OS you will need a 64-bit TWAIN driver.
If your problem persists, please follow these steps:
1- Create a new support case in http://support.gdpicture.com
2- Give us the name and version of the GdPicture Toolkit you are using.
3- Give us the exact device reference IE: CANON DR 9080C, and the TWAIN driver (including version) you are using IE: DR-9080C ISIS/TWAIN driver version 1.3 for Windows 98, Me, NT 4.0, 2000 and XP
4- Give us your operating system version. IE: Windows Vista ultimate
5- Report a code snippet which generate the undesired behavior. We should be able to run the code with a simple copy/paste.
6- Report a log file generated by your code snippet. To generate a log file just add the TwainStartLog("c:\twainlog.txt") at the beginning of your code , see sample below.
Please ensure yourself to run your code only 1 time for the log generation. Else investigation will not be possible.
Sample
- Code: Select all
Private Sub Command1_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command3.Click
Dim ImageID As Integer
Dim oGdPictureImaging As New GdPicture.GdPictureImaging
oGdPictureImaging.SetLicenseNumber("XXX")
oGdPictureImaging.TwainLogStart("c:\twainlog.txt") 'Log generation at the beginning !!
oGdPictureImaging.TwainOpenDefaultSource(Me.Handle)
ImageID = oGdPictureImaging.TwainAcquireToGdPictureImage(Me.Handle)
oGdPictureImaging.SaveAsJPEG(ImageID, "test.jpg")
oGdPictureImaging.TwainCloseSource()
oGdPictureImaging.TwainUnloadSourceManager(Me.Handle)
Call oGdPictureImaging.TwainCloseSource()
End Sub
Note 1:
TWAIN issues investigation is a big challenge and time consuming. Therefore, we will investigate a new TWAIN issue only if all 6 steps described above have been followed.
Note 2:
If you encounter problem under CITRIX, please have a look on the following knowledge bases:
- TWAIN Redirection Support with Presentation Server 4.0: http://support.citrix.com/article/CTX107409
- Troubleshooting TWAIN with Citrix Presentation Server 4.0: http://support.citrix.com/article/CTX107411
Thank you in advance for your comprehension.
The GdPicture Support Team
