Solved

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

Posted on 2007-11-19
20
4,959 Views
Last Modified: 2013-12-21
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
0
Comment
Question by:Reneba
  • 9
  • 8
20 Comments
 
LVL 31

Expert Comment

by:Cláudio Rodrigues
Comment Utility
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
0
 

Author Comment

by:Reneba
Comment Utility
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.
 
0
 
LVL 31

Expert Comment

by:Cláudio Rodrigues
Comment Utility
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
0
 
LVL 31

Expert Comment

by:Cláudio Rodrigues
Comment Utility
Check this link as well.
http://www.brianmadden.com/Forum/Topic/85531

Claudio Rodrigues
CEO, TSFactory Inc.

Microsoft MVP
Windows Server - Terminal Services
0
 

Author Comment

by:Reneba
Comment Utility
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
0
 

Author Comment

by:Reneba
Comment Utility
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
0
 
LVL 31

Expert Comment

by:Cláudio Rodrigues
Comment Utility
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
0
 

Author Comment

by:Reneba
Comment Utility
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
0
 

Author Comment

by:Reneba
Comment Utility
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
0
Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

 
LVL 31

Expert Comment

by:Cláudio Rodrigues
Comment Utility
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
0
 

Author Comment

by:Reneba
Comment Utility
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)
0
 
LVL 31

Expert Comment

by:Cláudio Rodrigues
Comment Utility
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
0
 

Author Comment

by:Reneba
Comment Utility
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.
0
 

Author Comment

by:Reneba
Comment Utility
I tried several ways changing the registry but it doesn't work, is there somethingelse that I can try?
0
 
LVL 31

Expert Comment

by:Cláudio Rodrigues
Comment Utility
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
0
 

Author Comment

by:Reneba
Comment Utility
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
0
 
LVL 31

Accepted Solution

by:
Cláudio Rodrigues earned 500 total points
Comment Utility
So in this case I assume during your tests, where you determined that it does work in install mode, you put the system in install mode then launched applications like Adobe, Word and so on. Is this correct?
If that is the case you need to set the registry key for these executables (adobe, word, etc), one key for each.


Claudio Rodrigues

Microsoft MVP
Windows Server - Terminal Services
0
 

Expert Comment

by:ThisEngland
Comment Utility
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.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now