I have a Brother MFC-J630W all-in-one printer-scanner-fax. I have the sane software installed, along with the sane driver provided by Brother. The scanner has a document feeder.
I'm using this command:
scanimage --device-name "$device" --resolution 300 > $output_file
Everything was working well until I used the document feeder to scan a legal-sized page. Now, if I put any letter-sized page into the document feeder, I end up with a legal-sized scan.
The biggest problem is, I don't (yet) know if this is a problem on the scanner side, or on the software side. All I know for certain is that the pnm file created by scanimage is legal-sized.
Does anybody have any ideas for troubleshooting and/or fixing this problem?