[sane-devel] RE: sane-devel digest, Vol 1 #365 - 11 msgs

David Neary David@phenix.fr
Thu, 10 Jun 2004 17:46:29 +0200


Keith Clayton wrote:
> What sort of steps are availble for me to take debugging-wise on the
> windows end?
> If xsane is started from the command prompt, are there any swithces
> available to generate debugging output at the command prompt?

As Henning said, you just need to set your environment variables 
XSANE_DEBUG and SANE_DEBUG_NET. You can set these as:


and then run scanimage.exe or xsane.exe to see what's happenning. 

Make sure you have set the SANE_CONFIG_DIR environment variable to 
point to where your dll.conf and net.conf are on the disk, otherwise 
nothing will work (set SANE_CONFIG_DIR=C:\xsane for example).

In case this gives you a problem, check your version of sane, since 
1.0.13 didn't have the path separators and directory separators set 
correctly for win32.