4

I have a Brother MFC-L3750CDW. I would like to scan documents longer than 14 inches (long receipts) from the feeder. I have found many articles on Brother's website for how to do this with windows drivers, but not surprisingly they don't give Linux instructions. These all suggest to disable "auto deskew" and some other features to enable scanning beyond the normal maximum.

I have checked the options reported by my printer through SANE, and I don't see any option for this. I can set br_y, but it has a maximum of 355 mm (14 inches). Setting a value above this has no effect. I found this in a mailing list, but scanimage --ald doesn't seem to exist any longer. Here is the list of options reported by my scanner according to python-sane.

I found this related issue on Super User, but it's for a Fujitsu scanner. The solution given was to fold the receipt, but I don't want to do that. I want it to be as straight as possible because I am doing OCR.

Is there any way to enable this?

Here is the code I am using to scan the document:

import sane
sane.init()
dev = sane.open('airscan:e1:Brother MFC-L3750CDW series')
dev.source = 'ADF'
dev.br_y = 5000
print(dev.opt)
dev.start()
im = dev.snap()
im.save(filename)

Using scanimage from the command line, I am unable to force the scanner to use the feeder and not the flatbed.

scanimage --mode Color --device-name "airscan:e0:Brother MFC-L3750CDW series" --buffer-size="10MB" -y 355mm --resolution 150dpi --batch="test_crop_desk_%d" -l 43 --batch-start 0 --format=tiff

Which specifies both --device-name and --batch. It is still using the flatbed.

Giacomo1968
  • 53,069
  • 19
  • 162
  • 212
Marcel
  • 288
  • 2
  • 6
  • 22
  • 1
    Does [this answer](https://unix.stackexchange.com/questions/112350/scanner-assumes-document-feeder-is-legal-sized) help? – harrymc Mar 15 '22 at 19:51
  • harrymc thanks for your comment. This is not working for me though. It is trying to scan from the flatbed, I can't force it to use the feeder. – Marcel Mar 15 '22 at 21:43
  • [scanimage man](https://linux.die.net/man/1/scanimage) describes the `batch*` parameters. See [this post](https://askubuntu.com/questions/383568/multiple-page-scan-using-scanimage) for examples. The command also has a `--device-name` parameter you might be able to use, see [link](https://askubuntu.com/questions/746126/scanimage-only-recognizes-scanner-as-adf-suddenly). – harrymc Mar 16 '22 at 09:24
  • I am using `scanimage --mode Color --device-name "airscan:e0:Brother MFC-L3750CDW series" --buffer-size="10MB" -y 355mm --resolution 150dpi --batch="test_crop_desk_%d" -l 43 --batch-start 0 --format=tiff`, which specifies both `--device-name` and `--batch`. It is still using the flatbed. The Python code I added to my question is using the feeder, but limited to 14 inches. – Marcel Mar 16 '22 at 19:54
  • Try to add `--source ADF` to the command. – harrymc Mar 16 '22 at 20:52
  • The length of the scanned document is still only 14 inches with `--source ADF` – Marcel Mar 17 '22 at 01:02
  • But does `--source ADF` force it to use the feeder? – harrymc Mar 17 '22 at 09:37
  • Yes, `--source ADF` forces it to use the feeder – Marcel Mar 17 '22 at 14:37
  • If it works, you should use as much as possible the command from my [link](https://unix.stackexchange.com/questions/112350/scanner-assumes-document-feeder-is-legal-sized) with the addition of only `--source ADF`. – harrymc Mar 17 '22 at 14:42
  • Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/134856/discussion-between-marcel-and-harrymc). – Marcel Mar 17 '22 at 15:53
  • @Marcel were you able to find a solution? I'm running into the same issue with a Brother DS-640, and I get a 404 on your chat link. – Nickolas Peter O'Malley Jun 17 '23 at 21:46
  • @NickolasPeterO'Malley No, never found a solution. I ended up setting up a system involving taking a picture on my phone: https://github.com/MarcelRobitaille/Receipt-Ingestion – Marcel Jun 19 '23 at 13:43
  • @Marcel sorry to hear it, but that trick of using a QR code to find and transform the receipt is very clever! I ended up creating two automated workflows in the Brother iPrint & Scan app, used someone's Python function to deskew the ones >14in, used ocr.space's API, and was able to capture all the data cleanly/reliably. It works pretty well for me, I will link the writeup here when it's finished, in case other readers find it helpful. – Nickolas Peter O'Malley Jun 30 '23 at 01:58

0 Answers0