List Info

Thread: Problems in 1.0.18, sane_fujitsu, USB fi5120C.




Problems in 1.0.18, sane_fujitsu, USB fi5120C.
user name
2006-12-14 19:55:18
On Thu, 14 Dec 2006, Lonny Granstrom wrote:

>>> 2. Help messages for -x, -y, --pagewidth, &
--pageheight do NOT provide 
>>> proper
>>>  information, descriptions are all the same.
>> 
>> what messages do they provide? my copy says:
>> 
>>     -x 0..224.846mm (in steps of 0.0211639)
[215.872]
>>         Width of scan-area.
>>     -y 0..863.489mm (in steps of 0.0211639)
[279.364]
>>         Height of scan-area.
>>     --pagewidth 0..224.846mm (in steps of
0.0211639) [215.872]
>>         Must be set properly to align scanning
window
>>     --pageheight 0..863.489mm (in steps of
0.0211639) [279.364]
>>         Must be set properly to eject pages
>> 
>
> Help messaages match - but references to ADF use
dropped.

what does this mean, 'references dropped'? are you saying
that these 
messages are ok afterall, or do you want the word 'ADF' in
the last two?

>>>  (e.g., for ADF, both -l and -x MUST be used to
properly mimic the missing
>>>         --pagewidth argument)
>> 
>> -l and -x are not the same as --pagewidth. the last
tells the scanner the 
>> size of the paper so it can decide where the left
margin on the adf is 
>> located. the other two set the location of the area
that will be scanned. 
>> note that the pagewidth must be larger than the
location you are trying to 
>> scan, or you will likely get an error.
>
> So this means what?
> The .17 command:
> "scanadf -d <device> --pagewidth 100.0
--pageheight 60.0"
> that produced correct results, a scanned image from the
ADF 100mm x 60mm
> automatically centered [matching adjustable paper guide
movements], now
> should be the .18 command:
> "scanadf -d <device> -l 62.4 -x 100.0 -y
60.0"
> to produce the same results?

try:

scanadf --pagewidth 100.0 --pageheight 60.0 -x 100.0 -y 60.0

i guess that the 1.0.17 code must have locked the scan area
to the size of 
the paper. i am not going to do that anymore, however,
because some 
scanners (including yours) have overscan capability, where
the scan area 
is a few mm larger than the paper on all sides. when
combined with a black 
background, this makes deskew easier.

> RELATED: if I change the values to be EXACT: -? 60.0
=> -? 59.9998 still get;
> "scanimage:/scanadf: rounded value of br-? from
59.9998 to 59.9998"

not sure about that. perhaps i am returning the wrong thing
when the 
option gets set, i will look...

allan

-- 
"so don't tell us it can't be done, putting down what
you don't know.
money isn't our god, integrity will free our souls" -
Max Cavalera

-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
Problems in 1.0.18, sane_fujitsu, USB fi5120C.
user name
2006-12-14 22:14:36
Allen,

m. allan noah wrote:
> On Thu, 14 Dec 2006, Lonny Granstrom wrote:
> 
>>>> 2. Help messages for -x, -y, --pagewidth,
& --pageheight do NOT 
>>>> provide proper
>>>>  information, descriptions are all the
same.
>>>
>>> what messages do they provide? my copy says:
>>>
>>>     -x 0..224.846mm (in steps of 0.0211639)
[215.872]
>>>         Width of scan-area.
>>>     -y 0..863.489mm (in steps of 0.0211639)
[279.364]
>>>         Height of scan-area.
>>>     --pagewidth 0..224.846mm (in steps of
0.0211639) [215.872]
>>>         Must be set properly to align scanning
window
>>>     --pageheight 0..863.489mm (in steps of
0.0211639) [279.364]
>>>         Must be set properly to eject pages
>>>
>>
>> Help messaages match - but references to ADF use
dropped.
> 
> what does this mean, 'references dropped'? are you
saying that these 
> messages are ok afterall, or do you want the word 'ADF'
in the last two?

My understanding was FLATBED used -l,-t,-x,-y & ADF used
--pagewidth, --pageheight.
Since you have "unlocked" scan-area/paper-size in
.18 not sure where FLATBED or ADF
references should be included now.

> 
>>>>  (e.g., for ADF, both -l and -x MUST be
used to properly mimic the 
>>>> missing
>>>>         --pagewidth argument)
>>>
>>> -l and -x are not the same as --pagewidth. the
last tells the scanner 
>>> the size of the paper so it can decide where
the left margin on the 
>>> adf is located. the other two set the location
of the area that will 
>>> be scanned. note that the pagewidth must be
larger than the location 
>>> you are trying to scan, or you will likely get
an error.
>>
>> So this means what?
>> The .17 command:
>> "scanadf -d <device> --pagewidth 100.0
--pageheight 60.0"
>> that produced correct results, a scanned image from
the ADF 100mm x 60mm
>> automatically centered [matching adjustable paper
guide movements], now
>> should be the .18 command:
>> "scanadf -d <device> -l 62.4 -x 100.0 -y
60.0"
>> to produce the same results?
> 
> try:
> 
> scanadf --pagewidth 100.0 --pageheight 60.0 -x 100.0 -y
60.0
>

The command worked.
This behavior is confusing:
  1. Cannot use defaults for the other arguments when using
     --pagewidth [Invalid Argument], but with -x it is
recognized?
  2. Using -y without --pageheight does "lock"
both in fi5120C ADF.
  3. Using -x & --pagewidth in combination versus -l
& -x?
Will dutifully pass all 4 arguments in .18.
 
> i guess that the 1.0.17 code must have locked the scan
area to the size 
> of the paper. i am not going to do that anymore,
however, because some 
> scanners (including yours) have overscan capability,
where the scan area 
> is a few mm larger than the paper on all sides. when
combined with a 
> black background, this makes deskew easier.
> 
>> RELATED: if I change the values to be EXACT: -?
60.0 => -? 59.9998 
>> still get;
>> "scanimage:/scanadf: rounded value of br-?
from 59.9998 to 59.9998"
> 
> not sure about that. perhaps i am returning the wrong
thing when the 
> option gets set, i will look...
> 
> allan
> 

-- 
Regards,
Lonny L. Granstrom
Binson's Home Health Care Centers
t:586-755-2300  f:586-755-2322
MIS Department (ext: 3372)
--
This message is intended only for the use of the individual
or entity to which it is addressed, and may contain
information that is privileged, confidential, and exempt
from disclosure under applicable law.  If the reader of this
message is not the intended recipient, you are hereby
notified that any dissemination, distribution, or copy of
this communication is strictly prohibited.  If received in
error, please destroy.

-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )