Show pagesourceBack to top Share via Share via... Twitter LinkedIn Telegram Yammer RedditRecent ChangesSend via e-MailPrintPermalink × Table of Contents scan times over network brscan-skey enable service config troubleshooting scanimage: open of device brother4:net1;dev0 failed: Invalid argument doesn't print under Fedora with SELinux enabled clean printer drum Brother MFC 9022 CDW Default Password: initpass scan times over network measurement: time scanimage -d "brother4:net1;dev0" –resolution 600 -p –format jpeg >test600.jpg Results: DPI time 150 18s 300 17s 400 28s 600 27s 1200 2min 2400 3:45min 4800 ? 9600 ? brscan-skey see also: github.com/imolein brother_skeytool_scripts enable service systemctl --user enable --now brscan-skey config /opt/brother/scanner/brscan-skey/script/scantoimage-0.2.4-1.sh #! /bin/sh set +o noclobber # # $1 = scanner device # $2 = friendly name # # # 100,200,300,400,600 # resolution=600 device=$1 mkdir -p ~/Scan if [ "`which usleep 2>/dev/null`" != '' ];then usleep 10000 else sleep 0.01 fi output_file=~/Scan/"BR_$(date +%F_%H-%M-%S).jpg" touch $output_file echo "scan from $2($device) to $output_file" scanimage --device-name "$device" --resolution $resolution -p --format jpeg> $output_file 2>/dev/null if [ ! -s $output_file ];then if [ "`which usleep 2>/dev/null `" != '' ];then usleep 10000 else sleep 1 fi scanimage --device-name "$device" --resolution $resolution -p --format jpeg> $output_file 2>/dev/null fi #echo gimp -n $output_file 2>/dev/null \;rm -f $output_file | sh & troubleshooting scanimage: open of device brother4:net1;dev0 failed: Invalid argument Restart your printer. No, seriously, turn it off and on again. doesn't print under Fedora with SELinux enabled One possible error in dmesg can be lp: driver loaded but no devices found. Fix with: restorecon -RFv /usr/lib/cups/filter/* setsebool -P cups_execmem 1 clean printer drum If the printer is smearing ink all over the print, the printer drum might have a stain on it. Settings → All Settings → Print Reports → Drum Dot Print The Drum Dot Print is divided into eight sections, where you can check the location of the stain. Remove the cartridge you want to clean, remove the toner. Place the drum on the Drum Dot Print and turn the gear on the side of the drum until you can see the stain. Remove the stain carefully with a dry cotton swab. Last modified: 2022-01-05 16:42