[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-25 Thread Henning Meier-Geinitz
Hi, On Fri, Apr 25, 2003 at 03:04:53PM -0500, Peter Chen wrote: > I entered SANE_DEBUG_FUJITSU=128 as a shell command (am I doing it right?) Either do export SANE_DEBUG_FUJITSU=255 scanimage ... or SANE_DEBUG_FUJITSU=255 scanimage ... At least if you use bash as your shell. > In my previous

[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-25 Thread Peter Chen
-- From: "m. allan noah" To: "Peter Chen" Cc: "SANE Mailing List" Sent: Friday, April 25, 2003 2:02 PM Subject: Re: [sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale > On Thu, 24 Apr 2003, Peter Chen wrote: > > > I tried scanimage wit

[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-25 Thread m. allan noah
;Peter Chen" > Cc: "SANE Mailing List" > Sent: Thursday, April 24, 2003 5:33 PM > Subject: Re: [sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale > > > > ok, in your prior mails it would have been helpful to explain the you were > > writing

[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-25 Thread Henning Meier-Geinitz
Hi, On Thu, Apr 24, 2003 at 06:07:53PM -0500, Peter Chen wrote: > I tried scanimage with --mode=gray, and it worked fine. But I could not do > it with --duplex=both. It said: > scanimage: sane_start: invalid argument. scanadf did not work either. Does scanimage --help show the duplex option? Does

[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-25 Thread Henning Meier-Geinitz
Hi, On Thu, Apr 24, 2003 at 03:43:38PM -0500, Peter Chen wrote: > I tried to set fi-4120c to Grayscale. I used the following code flow: > > status = sane_init(version_code, NULL); > status = sane_get_devices(&device_list, true); > ... > sane_exit(); Some backends

[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-25 Thread Oliver Schirrmeister
Use the strings 'Lineart', 'Halftone', 'Gray' or 'Color' to set option scan_mode. As far as I can see, value=3 does not work. Which function returned SANE_STATUS_INVAL? sane_control_option with option SANE_NAME_SCAN_MODE? That should only happen when you try to set mode 'Halftone'. Oliver Am Don

[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-24 Thread m. allan noah
ok, in your prior mails it would have been helpful to explain the you were writing an application, not just trying to use the scanner with the existing frontends. can you set the grayscale and resolution without error using scanimage? does it work every time? if not, then it is likely a driver

[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-24 Thread Peter Chen
ah" To: "Peter Chen" Cc: "SANE Mailing List" Sent: Thursday, April 24, 2003 5:33 PM Subject: Re: [sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale > ok, in your prior mails it would have been helpful to explain the you were > writing an application, not

[sane-devel] Problem with setting Fujitsu fi-4120c to Grayscale

2003-04-24 Thread Peter Chen
Hi all, I tried to set fi-4120c to Grayscale. I used the following code flow: status = sane_init(version_code, NULL); status = sane_get_devices(&device_list, true); ... sane_exit(); status = sane_init(version_code, NULL); status = sane_open("dev/us