------------------------------------------------------------------------ scanadf -L device `net:192.168.1.1:fujitsu:ScanSnap S1500:14033' is a FUJITSU ScanSnap S1500 scanner device `net:192.168.1.1:hpaio:/usb/Officejet_J5700_series?serial=CN7BOCF3HP04TC' is a Hewlett-Packard Officejet_J5700_series all-in-one # question01: Is it normal for devices to have spaces in there names? I had to patch my detection command, no real problem though ;) # scanadf -L | cut -d ' ' -f 2 | sed -e 's/^`//;s/'"'"'//' # scanadf -L | sed 's/.*`\([^'\'']*\).*/\1/g' # scanadf -L | sed -e 's/^[^`]*`//' -e "s/'.*$//" # scanadf -L | awk -F "\`|'" '{print $2}' # issu01: Somehow the scanner just became undetectable, I had to pull the power cord, redo the chgrp command, and then the devices became detectable again. # issu02: Is there really no poweron/poweroff button for the devices? ------------------------------------------------------------------------ # my normal scanadf command i use with my HP scanner but now with the S1500 $ scanadf --device-name "net:192.168.1.1:fujitsu:ScanSnap S1500:14033" --scan-script /usr/lib/pct-scanner-scripts/pct-scanner-script-process --output-file /home/jelle/scanscript/input/image-%04d.pbm --source ADF --resolution 600 --mode Lineart --compression None -x 210.000mm -y 297.000mm --start-count 1 scanadf: setting of option --source failed (Invalid argument) # question02: Is it normal to have command options with spaces like "ADF Duplex" "ADF Back" "ADF Front" # question03: Can it be that "ADF Back" and "ADF Front" are reversed :) I have to use "ADF Back" when the text is on the Front side of the scanner # bug02: It seems "ADF Back" and "ADF Front" are output something that is not on the oringal paper, only "ADF Duplex" seem to work... ------------------------------------------------------------------------ $ scanadf --device-name "net:192.168.1.1:fujitsu:ScanSnap S1500:14033" --scan-script /usr/lib/pct-scanner-scripts/pct-scanner-script-process --output-file /home/jelle/scanscript/input/image-%04d.pbm --source "ADF Duplex" --resolution 600 --mode Lineart --compression None -x 210.000mm -y 297.000mm --start-count 1 scanadf: unrecognized option '--compression' ------------------------------------------------------------------------ $ pct-scanner-script --lineart --source "ADF Duplex" startcount: 1 lineart: yes device: net:192.168.1.1:fujitsu:ScanSnap S1500:14033 outdir: /home/jelle/scanscript/ log: /home/jelle/scanscript/output/status.log source: ADF Duplex resolution: 600 scanning of document has started, please standby ... scanadf: rounded value of br-x from 210 to 210.01 scanadf: rounded value of br-y from 297 to 279.364 Scanned document /home/jelle/scanscript/input/image-0001.pbm processing: all needed variables are found, continuing now Scanned document /home/jelle/scanscript/input/image-0002.pbm processing: all needed variables are found, continuing now cjb2: 110981 runs. cjb2: 901 ccs after preprocessing. cjb2: 902 ccs after merging/splitting. cjb2: 1322 runs. cjb2: 986 ccs after preprocessing. cjb2: 1 ccs after merging/splitting. cjb2: 1 shapes after matching (0 are cross-coded). processing: page: 1 processing: next page: 2 cjb2: 902 shapes after matching (724 are cross-coded). processing: page: 2 processing: next page: 3 Scanned document /home/jelle/scanscript/input/image-0003.pbm processing: all needed variables are found, continuing now Scanned document /home/jelle/scanscript/input/image-0004.pbm processing: all needed variables are found, continuing now Scanned 4 pages cjb2: 1186 runs. cjb2: 866 ccs after preprocessing. cjb2: 1 ccs after merging/splitting. cjb2: 1 shapes after matching (0 are cross-coded). processing: page: 3 processing: next page: 4 cjb2: 398641 runs. cjb2: 82998 ccs after preprocessing. cjb2: 5981 ccs after merging/splitting. processing: completed, closing now cjb2: 5811 shapes after matching (5055 are cross-coded). processing: page: 4 processing: next page: 5 # the actual command: + scanadf --device-name 'net:192.168.1.1:fujitsu:ScanSnap S1500:14033' --scan-script /usr/lib/pct-scanner-scripts/pct-scanner-script-process --output-file /home/jelle/scanscript/input/image-%04d.pbm --source 'ADF Duplex' --resolution 600 --mode Lineart -x 210.000mm -y 297.000mm --start-count 5 ------------------------------------------------------------------------ $ scanadf --device-name 'net:192.168.1.1:fujitsu:ScanSnap S1500:14033' --output-file /home/jelle/scanscript/input/image-%04d.pbm --source 'ADF Duplex' --resolution 600 --mode Lineart Scanned document /home/jelle/scanscript/input/image-0001.pbm Scanned document /home/jelle/scanscript/input/image-0002.pbm Scanned 2 pages # bug03: It seems around 15mm of text is missing from the bottom of all pages when trying to scan simple A4 pages. $ identify -verbose image-0002.pbm Image: image-0002.pbm Format: PNM (Portable anymap) Class: DirectClass Geometry: 5096x6600+0+0 Resolution: 72x72 Print size: 70.7778x91.6667 Units: Undefined Type: Bilevel Base type: Bilevel Endianess: Undefined Colorspace: RGB Depth: 1-bit Channel depth: gray: 1-bit Channel statistics: gray: min: 0 (0) max: 1 (1) mean: 0.933596 (0.933596) standard deviation: 0.248987 (0.248987) kurtosis: 10.1305 skewness: -3.48288 Histogram: 2233407: ( 0, 0, 0) #000000 black 31400193: (255,255,255) #FFFFFF white Rendering intent: Undefined Interlace: None Background color: white Border color: rgb(223,223,223) Matte color: grey74 Transparent color: black Compose: Over Page geometry: 5096x6600+0+0 Dispose: Undefined Iterations: 0 Compression: Undefined Orientation: Undefined Properties: comment: SANE data follows date:create: 2009-12-21T00:18:03+01:00 date:modify: 2009-12-21T00:18:03+01:00 signature: 4188558cf9c75957aa407726c9fda42c7d4b7928063e7b44b324fc945f3007b2 Artifacts: verbose: true Tainted: False Filesize: 4.204MB Number pixels: 33.63MB Pixels per second: 43.12MB User time: 0.760u Elapsed time: 0:01.779 Version: ImageMagick 6.5.8-3 2009-12-06 Q16 http://www.imagemagick.org ------------------------------------------------------------------------