Answer the question
In order to leave comments, you need to log in
The command is partially executed. How to fix the error?
I connected an old fujitsu fi-6770A scanner via USB to Centos7. Installed: PHP 7.3, Sane, phpSane.
PHP creates and runs the script:
/usr/bin/scanimage -d "fujitsu:fi-6770dj:498" -l 0mm -t 0mm -x 210mm -y 296.926mm --mode "Gray" --resolution 200dpi --brightness 0 --contrast 0 --source "ADF Front" --format=tiff --batch='./tmp/out_517771_%d.tif' --batch-start=10 && /usr/bin/convert './tmp/out_517771_*.tif' -compress jpeg -quality 90 -density 200 pdf:- > './output/scan_2021-07-28_13.33.16.pdf'
su -m apache -c '/usr/bin/convert './tmp/out_517771_*.tif' -compress jpeg -quality 90 -density 200 pdf:- > './output/scan_2021-07-28_13.33.16.pdf''
su -m apache -c '/usr/bin/scanimage -d "fujitsu:fi-6770dj:498" -l 0mm -t 0mm -x 210mm -y 297mm --mode "Gray" --resolution 200dpi --brightness 0 --contrast 0 --source "ADF Front" --format=tiff --batch='./tmp/out_511_%d.tif' --batch-start=10 && /usr/bin/convert './tmp/out_511_*.tif' -compress jpeg -quality 90 -density 200 pdf:- > './output/scan_2021-07-28.pdf''
Scanning page 16
Scanned page 16. (scanner status = 5)
Scanning page 17
scanimage: sane_start: Document feeder out of documents
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question