ADS-1300
FAQs & Troubleshooting |
Command List of brscan. (Linux)
> Stop Scan-key-tool
> List available Brother devices
> Change the name of the target user
> Set password
> Hide a scanner device from Scan-key-tool (Available only with network connected scanner)
> Change the action of scan-key-tool
Command: brscan-skey -t
Command: brscan-skey -l
***The new user name must be less than 16 characters, only alphabet and numbers can be used.
***Command without the name parameter will reset the name for brscan-skey.
***To reset the password, use "brscan-skey -p" without parameters.(superuser authorization is required)
The actions taken by the scan-key-tool are described in the /usr/local/Brother/sane/brscan-skey-(version).cfg
Parameters |
IMAGE=(The script for scan-to-image selection) OCR=(The script for scan-to-ocr selection) ***Scan-to-OCR is not available EMAIL=(The script for scan-to-email selection) FILE=(The script for scan-to-file selection) |
Default shell script for scan-to-image;
/usr/local/Brother/sane/script/scantoimage-0.2.1-1.sh
Default shell script for scan-to-file;
/usr/local/Brother/sane/script/scantofile-0.2.0-1.sh
Default shell script for scan-to-email;
/usr/local/Brother/sane/script/scantoemail-0.2.0-1.sh
Example: Multiple sheets are scanned from ADF using scan-to-file, and it is made into one PDF file.
Change the file(/usr/local/Brother/sane/script/scantofile-x.x.x-x.sh) as follows.
NOTE:scanadf, pnmtops, and ps2pdf need to be installed.
--------------------------------------------------------------
#! /bin/sh
set +o noclobber
#
# $1 = scanner device
# $2 = friendly name
#
#
# 100,200,300,400,600
#
resolution=100
device=$1
BASE=˜/brscan
mkdir -p $BASE
if [ "`which usleep`" != ' ' ];then
usleep 10000
else
sleep 0.01
fi
output_tmp=$BASE/$(date | sed s/' '/'_'/g | sed s/'\:'/'_'/g)
echo "scan from $2($device)"
scanadf --device-name "$device" --resolution $resolution -o"$output_tmp"_%04d
for pnmfile in $(ls "$output_tmp"*)
do
echo pnmtops "$pnmfile" "$pnmfile".ps
pnmtops "$pnmfile" > "$pnmfile".ps
rm -f "$pnmfile"
done
echo psmerge -o"$output_tmp".ps $(ls "$output_tmp"*.ps)
psmerge -o"$output_tmp".ps $(ls "$output_tmp"*.ps)
echo ps2pdf "$output_tmp".ps "$output_tmp".pdf
ps2pdf "$output_tmp".ps "$output_tmp".pdf
#cleanup
for psfile in $(ls "$output_tmp"*.ps)
do
rm $psfile
done
rm -f "$pnmfile".ps
--------------------------------------------------------------