scanadf is generating images that aren't PNM. Maybe the it's generating raw? Shouldn't it be generating a PNM file? Is there an option to have it generate a PNM file?
scanadf -vvv -x 215.9 -y 279.4 --mode gray -d 'brother2:net1;dev0' -r 400 -o /opt/scan/tmp/%04d scanadf: value for --br-x is: 215.9 scanadf: value for --br-y is: 279.4 scanadf: rounded value of br-x from 215.9 to 215.88 scanadf: rounded value of br-y from 279.4 to 279.374 scanadf: scanning image of size 1664x2199 pixels at 1 bits/pixel scanadf: acquiring gray frame Scanned document /opt/scan/tmp/0001 scanadf: scanning image of size 1664x2199 pixels at 1 bits/pixel scanadf: acquiring gray frame Scanned document /opt/scan/tmp/0002 Scanned 2 pages pnmtops /opt/scan/tmp/0001 > test.ps pnmtops: bad magic number 0x0 - not a PAM, PPM, PGM, or PBM file sean
