Twain Acquisition

Technical Support for PaperScan.
cbanks
Posts: 6
Joined: Fri Mar 02, 2012 5:36 pm

Twain Acquisition

Post by cbanks » Fri Mar 02, 2012 5:59 pm

In your earlier post you said "If your problem persists, please follow these steps:

1- Create a new support case in http://support.gdpicture.com/Tickets/Submit or a new thread in this forum
2- 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
3- Give us your operating system version. IE: Windows Vista ultimate
4- Provide the 2 required logs: Data Source Manager log & PaperScan log (see bellow)


Instruction to get the Data Source Manager Log:
source: http://www.twainforum.org/viewtopic.php?f=2&t=4138


Right click "My Computer" | Properties | Advanced | Environment Variables
in "User variables for yourname", New

variable name: TWAINDSM_LOG
Variable value: %temp%\twain2.log

Ok | Ok | Ok



Instruction to get the PaperScan Log

- Run PaperScan
- Click CTRL+d
- In menu select Debug -> TWAIN Log
- Select the destination for for the log
- OK"

I followed the steps except that upon starting PaperScan, the Control D command produced nothing. So I am at a loss.

I am using a Samsung 3180 Series scanner. The TWAIN driver is listed as Twain-Samsung 3180. I am running the latest version of PaperScan Pro on a 64 bit computer with Windows 7 Professional. When I attempt to use the software, and after I select the device (samsung 3180) and I attempt to acquire an image, I receive this error: TWAIN ERROR. can not open device or no device has been selected". I do not know how to proceed.
Please assist, if possible.

Thanks

cbanks
Posts: 6
Joined: Fri Mar 02, 2012 5:36 pm

Re: Twain Acquisition

Post by cbanks » Mon Mar 05, 2012 5:48 pm

I am using a Samsung 3180 Series scanner. The TWAIN driver is listed as Twain-Samsung 3180. I am running the latest version of PaperScan Pro on a 64 bit computer with Windows 7 Professional. When I attempt to use the software, and after I select the device (samsung 3180) and I attempt to acquire an image, I receive this error: TWAIN ERROR. can not open device or no device has been selected". I do not know how to proceed.
Please assist, if possible.

Here are the 2 log files :

Code: Select all

[083640774 dsm.cpp   398   183 00000F14] TWAIN Working Group

[083640774 dsm.cpp   399   183 00000F14] TWAIN 32 Source Manager (Image Acquisition Interface)

[083640774 dsm.cpp   400   183 00000F14] version: 2, 1, 4, 0

[083640774 dsm.cpp  2259   183 00000F14] GdPicture TWAIN Client -> DSM

[083640774 dsm.cpp  2268   183 00000F14] DG_CONTROL/DAT_PARENT/MSG_OPENDSM

[083640774 apps.cpp  352   183 00000F14]   Application: "Unspecified Developer"

[083640774 apps.cpp  353   183 00000F14]                "TWAIN Application"

[083640774 apps.cpp  354   183 00000F14]                "GdPicture TWAIN Client" version: 1.0

[083640774 apps.cpp  355   183 00000F14]                TWAIN 2.1

[083640774 apps.cpp 1432   127 00000F14]   Could not find DS_Entry function in DS: C:\Windows\twain_32\wiatwain.ds

[083640774 apps.cpp  649   127 00000F14]   Condition Code: DS or DSM reported error, application shouldn't display an error

[083640774 apps.cpp 1445     0 00000F14]   Loaded library: C:\Windows\twain_32\Samsung\CLX3180\OEMDS2.DS

[083640821 dsm.cpp  2323    18 00000F14] TWRC_SUCCESS


[083640821 dsm.cpp  2259    18 00000F14] GdPicture TWAIN Client -> DSM

[083640821 dsm.cpp  2268    18 00000F14] DG_CONTROL/DAT_IDENTITY/MSG_GETFIRST

[083640821 dsm.cpp  2323    18 00000F14] TWRC_SUCCESS


[083640821 dsm.cpp  2259    18 00000F14] GdPicture TWAIN Client -> DSM

[083640821 dsm.cpp  2268    18 00000F14] DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT

[083640821 dsm.cpp  2323    18 00000F14] TWRC_ENDOFLIST


[083640821 dsm.cpp  2259    18 00000F14] GdPicture TWAIN Client -> DSM

[083640821 dsm.cpp  2268    18 00000F14] DG_CONTROL/DAT_STATUS/MSG_GET

[083640821 dsm.cpp  2323    18 00000F14] TWRC_SUCCESS TWCC_SUCCESS


[083724055 dsm.cpp  2259   183 00000F14] GdPicture TWAIN Client -> DSM

[083724055 dsm.cpp  2268   183 00000F14] DG_CONTROL/DAT_PARENT/MSG_CLOSEDSM

[083724055 dsm.cpp  2323   183 00000F14] TWRC_SUCCESS

And the other log file:

Code: Select all

[083640774 dsm.cpp   398   183 00000F14] TWAIN 

Working Group[083640774 dsm.cpp   399   183 00000F14] 

TWAIN 32 Source Manager (Image Acquisition 

Interface)[083640774 dsm.cpp   400   183 00000F14] 

version: 2, 1, 4, 0[083640774 dsm.cpp  2259   183 

00000F14] GdPicture TWAIN Client -> DSM[083640774 

dsm.cpp  2268   183 00000F14] 

DG_CONTROL/DAT_PARENT/MSG_OPENDSM

[083640774 apps.cpp  352   183 00000F14]   Application: 

"Unspecified Developer"[083640774 apps.cpp  353   183 

00000F14]                "TWAIN Application"[083640774 

apps.cpp  354   183 00000F14]                "GdPicture TWAIN 

Client" version: 1.0[083640774 apps.cpp  355   183 

00000F14]                TWAIN 2.1[083640774 apps.cpp 1432   

127 00000F14]   Could not find DS_Entry function in DS: 

C:\Windows\twain_32\wiatwain.ds[083640774 apps.cpp  

649   127 00000F14]   Condition Code: DS or DSM reported 

error, application shouldn't display an error[083640774 

apps.cpp 1445     0 00000F14]   Loaded library: C:

\Windows\twain_32\Samsung\CLX3180\OEMDS2.DS

[083640821 dsm.cpp  2323    18 00000F14] 

TWRC_SUCCESS
[083640821 dsm.cpp  2259    18 00000F14] GdPicture 

TWAIN Client -> DSM[083640821 dsm.cpp  2268    18 

00000F14] 

DG_CONTROL/DAT_IDENTITY/MSG_GETFIRST

[083640821 dsm.cpp  2323    18 00000F14] 

TWRC_SUCCESS
[083640821 dsm.cpp  2259    18 00000F14] GdPicture 

TWAIN Client -> DSM[083640821 dsm.cpp  2268    18 

00000F14] 

DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT

[083640821 dsm.cpp  2323    18 00000F14] 

TWRC_ENDOFLIST
[083640821 dsm.cpp  2259    18 00000F14] GdPicture 

TWAIN Client -> DSM[083640821 dsm.cpp  2268    18 

00000F14] DG_CONTROL/DAT_STATUS/MSG_GET

[083640821 dsm.cpp  2323    18 00000F14] 

TWRC_SUCCESS TWCC_SUCCESS
[083724055 dsm.cpp  2259   183 00000F14] GdPicture 

TWAIN Client -> DSM[083724055 dsm.cpp  2268   183 

00000F14] 

DG_CONTROL/DAT_PARENT/MSG_CLOSEDSM

[083724055 dsm.cpp  2323   183 00000F14] 
TWRC_SUCCESS

cbanks
Posts: 6
Joined: Fri Mar 02, 2012 5:36 pm

Re: Twain Acquisition

Post by cbanks » Mon Mar 05, 2012 5:52 pm

Code: Select all

#GdTwain Log Start. Version: 653

RC:   TWRC_ENDOFLIST
CC:   TWCC_SUCCESS
State: 3
-------------------
Start: CloseSourceManager.
RC:   TWRC_ENDOFLIST
CC:   TWCC_SUCCESS
State: 3
-------------------
End: CloseSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 2
-------------------
Start: UnloadSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 2
-------------------
End: UnloadSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
Start: UnloadSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
End: UnloadSourceManager.
RC:   TWRC_SUCCESS
CC:   TWCC_SUCCESS
State: 1
-------------------
#GdTwain Log Stop.

Loïc
Site Admin
Posts: 96
Joined: Fri Nov 05, 2010 12:38 pm

Re: Twain Acquisition

Post by Loïc » Tue Mar 06, 2012 4:53 pm

Hello,

Thank you for the log info.

We identified and fixed the problem. We will publish an update within 24 hours.

Kind regards,

Loïc

cbanks
Posts: 6
Joined: Fri Mar 02, 2012 5:36 pm

Re: Twain Acquisition

Post by cbanks » Tue Mar 06, 2012 8:04 pm

Thank you very much! I shall watch for the update.

Loïc
Site Admin
Posts: 96
Joined: Fri Nov 05, 2010 12:38 pm

Re: Twain Acquisition

Post by Loïc » Wed Mar 07, 2012 1:06 pm

Hello,

The update is available: http://www.orpalis.com/products/paperscan/

Let me know if the problem persists.

Kind regards,

Loïc

cbanks
Posts: 6
Joined: Fri Mar 02, 2012 5:36 pm

Re: Twain Acquisition

Post by cbanks » Wed Mar 07, 2012 6:18 pm

Still having problem. Uninstalled version, downloaded update and installed. ran program. Produced the following error: "TWAIN ERROR. Can not open default device - Samsung CLX 3180 Series. RC: TWRC_Failure CC:TWCC_Operationerror"

Do you need the log files again?

Loïc
Site Admin
Posts: 96
Joined: Fri Nov 05, 2010 12:38 pm

Re: Twain Acquisition

Post by Loïc » Thu Mar 08, 2012 3:40 pm

Hello,

The application is not able to open the scanner.

OK I can see 5 possible causes:

- 1: your scanner is broken. (To check that you can try to acquire with another software).
or
- 2: You have not enough privilege to access the driver directory. To check that you can right-click on paperscan.exe and select "run as administrator"
or
- 3: Your scanner driver is not compatible with the TWAIN 2.1 data source manager. To check that you can try to remove the twaindsm.dll that you can find in the paperscan directory.
or
-4: Your driver is corrupted. A re-installation can fix the problem if any.
or
- 5: Your scanner is not powered or used by another application.

Kind regards,

Loïc

cbanks
Posts: 6
Joined: Fri Mar 02, 2012 5:36 pm

Re: Twain Acquisition

Post by cbanks » Thu Mar 08, 2012 6:04 pm

I removed (deleted) the TWAINDSM.dll version 2.1.4.0. and the program acquires the image from the scanner! I am uncertain about locating and installing an older version of the TWAINDSM file because I do not know what purpose the file is for. But for now, the software seems to be working. Thank you for your assistance.

Loïc
Site Admin
Posts: 96
Joined: Fri Nov 05, 2010 12:38 pm

Re: Twain Acquisition

Post by Loïc » Fri Mar 09, 2012 11:00 am

OK perfect !

Thank you for the return.

Well, in the next release we will add an option to select the TWAIN data source manager to use. This will avoid the file deletion trick.

Kind regards,

Loïc

Locked

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest