-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi,
Firstly, thanks for the awesome image to utilise, it's a really convenient way to bring documents straight into my digital filing cabinet.
I do have an issue that has stumped me, and I was hopeful I've just missed something.
Quick summary:
The scans only capture the top ~1/4 of the page, the remainder is blank (pure white).
Detailed:
I have a portable Brother Scanner MDS-940DW, while using the native app via my mobile/desktop/sd card, I am able to scan complete pages.
What I've tested:
- Increasing the resolution 300 > 600 > 1200. But even at the higher end I only get ~3/4 of the page.
- This is also the upper limit I can apply before the it forcible rounds down.
Few problems with this 'solution':
- Scan still doesn't capture the full page as expected
- The physical scans take 4 x longer due to the resolution
- File size can be 20MB+
- Change the blank pages from 0.0 to 1.0, incrementally by 0.1
- Didn't notice any change
- Change the x/y parameters to match the document exactly
- This doesn't appear to have any affect on the outcome
- More often the values were rounded to larger values
- I've now defaulted it to the max allowed
Setup
- Brother MDS-940DW connected via wifi
- Docker running under Debian 12
- Image: ghcr.io/philippmundhenk/brotherscannerdocker:v1.1.1
enviroment:
- WEBSERVER=true
- DISABLE_GUI_SCANTOIMAGE=true
- DISABLE_GUI_SCANTOOCR=true
- RENAME_GUI_SCANTOFILE="Start new scan"
- RENAME_GUI_SCANTOEMAIL="Scan additional pages"
- REMOVE_BLANK_THRESHOLD=0.3
Log after Blank Threshold 0.3 and Resolution 300.
setting up user & logfile:
Allowing use of questionable username.
Adding user `Scanner' ...
Adding new user `Scanner' (1000) with group `NAS' ...
Creating home directory `/home/Scanner' ...
Copying files from `/etc/skel' ...
-----
setting up interface:
using interface: eth0
-----
setting up host IP:
-----
whole config:
=
IMAGE="bash /opt/brother/scanner/brscan-skey/script/scantoimage.sh"
OCR="bash /opt/brother/scanner/brscan-skey/script/scantoocr.sh"
EMAIL="bash /opt/brother/scanner/brscan-skey/script/scantoemail.sh"
FILE="bash /opt/brother/scanner/brscan-skey/script/scantofile.sh"
SEMID=b
eth=eth0
ip_address=***
-----
starting scanner drivers...
-----
setting up webserver:
starting webserver for API & GUI...
running on port 33355
webserver started
-----
capabilities:
Output format is not set, using pnm as a default.
Created directory: /var/lib/snmp/cert_indexes
scanimage: open of device brother4:net1;dev0 failed: Invalid argument
startup successful
/opt/brother/scanner/brscan-skey/script/scantofile.sh: line 7: UID: readonly variable
filename: /tmp/2025-03-26-22-48-33/2025-03-26-22-48-33-front-page%04d.pnm
scanimage: rounded value of br-x from 211.881 to 211.881
scanimage: rounded value of br-y from 355.567 to 355.567
Scanning infinity pages, incrementing by 1, numbering from 1
Scanning page 1
Scanned page 1. (scanner status = 5)
Scanning page 2
Scanned page 2. (scanner status = 5)
Scanning page 3
scanimage: sane_start: Document feeder out of documents
Batch terminated, 2 pages scanned
conversion process for 2025-03-26-22-48-33 is running in PID: 1297
converting to PDF for 2025-03-26-22-48-33...
SSH environment variables not set, skipping inotify trigger.
TELEGRAM_TOKEN or TELEGRAM_CHATID environment variables not set, skipping Telegram trigger.
FTP environment variables not set, skipping inotify trigger.
cleaning up for 2025-03-26-22-48-33...
OCR environment variables not set, skipping OCR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels