-
-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canon DR-M140 pages get cut off when using SDK #478
Comments
Try "ScanRegions" instead of "ScanRegion". |
hi@cyanfish, very thanks for your replyment, I have tried "ScanRegions" instead of "ScanRegion", but the scan server throws 400 error. the post data is : maxWidth and maxHeight:
scanner capablility:
this is the full error code:
so how should i do? thanks |
Looks like a bug in the ESCL client library as it's generating invalid XML, I'm assuming you're using the code from the naps2-webscan sample? If so you can try commenting out lines 25 and 33 here (the lines with "MustHonor"). |
@cyanfish, thanks again, you are right,xml is invalid, change region to regions works. |
I'm having a problem with my canon scanners in using SDK. When I scan an A4 paper it cuts of the first ( or last ) 1cm of the page.
the same problem like:
https://gitlab.com/sane-project/backends/-/issues/476#note_1735474004
I'm using SDK to develop an electron app, I using browser to send a scan job to scanner with options:
{
InputSource: 'ADF',
Duplex: true,
Resolution: 300,
ScanRegion: 'A4',
}
it cut off the bottom 1cm of the page. But it works fine when using NAPS2 gui or command line tool NAPS2.Console.exe
so how to resolve this bug, thanks!
The text was updated successfully, but these errors were encountered: