Just did some more reading...
Seems I am using the binary brother brscan2 driver. It does replace some parts of the sane infrastructure... So I do not know if the observed behaviour is caused by sane-utils or (more likely) brscan2.

>dpkg -l \*brscan2\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name            Version      Architecture Description
+++-===============-============-============-====================================
ii  brscan2         0.2.1        i386         Brother Scanner Driver

>dpkg -L brscan2
/.
/usr
/usr/bin
/usr/lib
/usr/lib/libbrcolm2.so.1.0.0
/usr/lib/libbrscandec2.so.1.0.0
/usr/lib/sane
/usr/lib/sane/libsane-brother2.so.1.0.7
/usr/local
/usr/local/Brother
/usr/local/Brother/sane
/usr/local/Brother/sane/Brsane2.ini
/usr/local/Brother/sane/GrayCmData
/usr/local/Brother/sane/GrayCmData/AL
/usr/local/Brother/sane/GrayCmData/AL/brmsl09f.cm
/usr/local/Brother/sane/GrayCmData/AL/vssver.scc
/usr/local/Brother/sane/GrayCmData/ALL
/usr/local/Brother/sane/GrayCmData/ALL/brmsl08f.cm
/usr/local/Brother/sane/GrayCmData/ALL/vssver.scc
/usr/local/Brother/sane/brsaneconfig2
/usr/local/Brother/sane/brsanenetdevice2.cfg
/usr/local/Brother/sane/setupSaneScan2
/usr/bin/brsaneconfig2
/usr/lib/libbrcolm2.so
/usr/lib/libbrcolm2.so.1
/usr/lib/libbrscandec2.so
/usr/lib/libbrscandec2.so.1
/usr/lib/sane/libsane-brother2.so
/usr/lib/sane/libsane-brother2.so.1

Their source code can be downloaded from their support pages..
it is probably more recent than my installed binaries...

In file brscan/backend_src/brother_modelinf.c in function GetSupportScanAreaHeight(), the height is hardcoded to 355.6 there's also a 297.0 which is disabled by an #if 0. The whole thing looks a bit incomplete..

Investigating the generated pnm file shows a header that claims
P5 (graymap)
1648x2337 pixels
255 maxvalue(=single byte pixels)
counting the bytes gives:
0x00399605-0x25=0x3995E0
dividing by the width gives:
2290 lines(decimal,exactly)
This is 47 lines difference(missing).
Scans were done at 200 DPI, so each pixels is 1/200 inch.
47*1/200=0.235 inch
1inch=25.4 mm=5.969mm missing from bottom.
This is more than just the rounding error...


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to