Link to home
Start Free TrialLog in
Avatar of Reneba
RenebaFlag for United States of America

asked on

ScanGear (TWAIN) works fine from workstations but I can't see the scanner on server win2003k

Hello to all,
I have a Canon IR5000 printer/scanner connected on my network, I have no problems printing, the scanning works fine from each workstation after install Network ScanGear Ver.2.01 on each.

The problem is that I have remote users (TS), I installed ScanGear on the server, the software (ScanGear) found the scanner and said ready but I can not see the scanner into the applications (like adobe) to scan.

The company just bougth an expensive Electronic File Cabinet system and need to be able to use the scanner remotely.

Thanks
Avatar of Cláudio Rodrigues
Cláudio Rodrigues
Flag of Canada image

I know you installed the software on the server. But where is the scanner the server is supposed to connect to?
If the scanner is connected to the user PC and you are trying to use the ScanGear software loaded on the TS, attempting to 'see' the scanner attached to the user local PC, this does NOT work.
Citrix is the only product as of today that has built-in support for scanners (basically TWAIN over ICA).
To get TWAIN over RDP you will need a third party product like RemoteScan.
http://www.remote-scan.com/

Claudio Rodrigues
Microsoft MVP
Windows Server - Terminal Services
Avatar of Reneba

ASKER

The printer/scanner is conected direct to the network it is a network copier scanner, the software I installed in all of the workstations and work fine, everybody can scan. In the server the software ScanGear Tools said The selected scanner is available for scanning but it doesn't show in the application, not even runing localy.
 
Does it work LOCALLY on the TS?
If you logon to the TS, open a command prompt and type 'CHANGE USER /INSTALL' and type enter and then try to run the software, does it work?
Does it work if you have administrator rights when you logon to the TS?
I assume you installed the software using Control Panel | Add/Remove Programs.

Claudio Rodrigues
Microsoft MVP
Windows Server - Terminal Services
Check this link as well.
http://www.brianmadden.com/Forum/Topic/85531

Claudio Rodrigues
CEO, TSFactory Inc.

Microsoft MVP
Windows Server - Terminal Services
Avatar of Reneba

ASKER

I installed using Control Panel ....
Doesn't work as administrator
Works fine Installation mode (Change User /Install)

How I make it works in Execute mode?

Thanks
Rene
Avatar of Reneba

ASKER

Claudio,

the guys at that link have the same problem like me, looks like one is using a 3rd. party twain.dll (remote scan's twain_32.dll) that we don't have. Even one is talking about the scanner working on installation mode but not in execute mode like is happening to me. Did somebody found the solution to it?

Thanks
Rene
If it works in installation mode the problem is usually simple to resolve. You must set a flag in the registry for the ScanGear executable. All the flags are listed here:
http://technet2.microsoft.com/windowsserver/en/library/df78c476-00d5-41f0-a21d-e1e12e3d1f8b1033.mspx?mfr=true

These should be the relevant ones in your case:
0x00000080
Do not substitute user \Windows directory.

0x00000100
Disable registry mapping for program or registry key.

If you set these (or one of these) it should work.

Claudio Rodrigues
Microsoft MVP
Windows Server - Terminal Services
Avatar of Reneba

ASKER

The program is not listed under (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows NT\CurrentVersion\Terminal Server\ Compatibility\Applications\  ) but I can see it under (HKEY_LOCAL_MACHINE\SOFTWARE\Canon\Network ScanGear\Driver\Devices)

Thanks
Rene
Avatar of Reneba

ASKER

Sorry didn't finish the last comment,
Is the second registry entry that I have to add those DWORD ?
(HKEY_LOCAL_MACHINE\SOFTWARE\Canon\Network ScanGear\Driver\Devices)

Thanks
Rene
Rene, you must add that key. That is why such flags exist, to allow you to tweak any application you want. The TS does not do that by itself; you create the entries as needed.

Claudio Rodrigues
Microsoft MVP
Windows Server - Terminal Services
Avatar of Reneba

ASKER

I understand that I have to create the key, but under the instructions said that I should find the application name under :
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows NT\CurrentVersion\Terminal Server\ Compatibility\Applications\ ) but the program name is not there, then what I should do:

1.-Create a directory under that registry with the name of the program and create the DWORD entries or

2.- Add the DWORD entries in the other registry were I found the program "Network ScanGear" at Devices level?
(HKEY_LOCAL_MACHINE\SOFTWARE\Canon\Network ScanGear\Driver\Devices)
Nope. The article is clear:
"Some of these entries are created by default. Administrators can create new entries or change existing entries to alleviate many program compatibility issues.
Following is a list of compatibility flags that can be stored under..."

This means you will NOT necessarily find a key there. You need to find the executable name for your software and create a key for it and then set the flag accordingly.

Something like:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows NT\CurrentVersion\Terminal Server\ Compatibility\Applications\scangear.exe (or just scangear if with .exe does not work),
Then set the default value (DWORD value) to be 0x00000080 or 0x00000100 or 0x00000180.

Claudio Rodrigues
Microsoft MVP
Windows Server - Terminal Services
Avatar of Reneba

ASKER

I'm still working on it because is not an .exe file on the ScanGear folder there are a few dll files. I'm not sure which one is the one who launched by the program from where I want to scan like adobe. When I click create a new file from scanner Adobe launch the ScanGear program (dll that I don't know yet). Under my understanding I should create a key with that file name.

Sorry I'm not too familiar with registry edition.
Avatar of Reneba

ASKER

I tried several ways changing the registry but it doesn't work, is there somethingelse that I can try?
Is there an executable for that software or it is Adobe that calls it? When you put in install mode and launch it, what exactly are you launching? Set the registry key for whatever you are launching when testing in install mode.

Claudio Rodrigues

Microsoft MVP
Windows Server - Terminal Services
Avatar of Reneba

ASKER

ScanGear is not an executable file to run, it is called by an applicatiom from where you want to scan the image. In our case we scan from Adobe, Microsoft Word and other electronic fileing applications.

Thanks
Rene
ASKER CERTIFIED SOLUTION
Avatar of Cláudio Rodrigues
Cláudio Rodrigues
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ThisEngland
ThisEngland

Hello there

I have struggled with this on a new XENAPP 6.5 installation on 2008 R2 servers, with aging cannon IR2220n b&w scanner. What worked for me was a hybrid of these two solutions. I have three 2008 R2 servers in the citrix farm. We have office 2003 installed along with Office Scanning

1) Install Office 2003 scanning
2) Download Scangear 64bit color scanning software from the Canon website in Canada - they are clear on what the drivers will run on whereas other sites are not. (I know the scanner is B&W)

http://canoncanada.custhelp.com/app/answers/detail/a_id/17591/~/color-network-scangear-v2.71-for-windows-xp%2Fserver-2003%2Fvista%2Fserver

3) Install the canon driver software on each of the servers in turn
4) on each server in turn

a) run regedit.exe
b) find the path to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications
c) Check for entry entitled SGTOOL
d) if not add this by right clicking and adding a key
e) Key name is SGTOOL
f) in the right pane of the resulting window right click
g) Add new DWord (32 Bit)
h) Name the DWard  "   Flags   " - (ignore quotation marks)
i) Right click again and click modify
j) Add Hexidecimal 408

Click back onto Applications as we are going to add another key


k) Check for entry entitled MSPSCAN
l) if not add this by right clicking and adding a key
m) Key name is MSPSCAN
n) in the right pane of the resulting window right click
o) Add new DWord (32 Bit)
p) Name the DWard  "   Flags   " - (ignore quotation marks)
q) Right click again and click modify
r) Add Hexidecimal 408

Repeat for the next server

The principle is that SCANGEAR and OFFICE SCANNING are aligned and looking in the same place for what they need. Use this principle to alignment to align Adobe or whatever other scanning software you are using to pick up the networked canon drivers.

Test as a normal citrix user.