8000 Incorrect device parsing where geometry includes steps · Issue #69 · sbs20/scanservjs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Incorrect device parsing where geometry includes steps #69

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

Closed
cyablo opened this issue Sep 21, 2020 · 8 comments
Closed

Incorrect device parsing where geometry includes steps #69

cyablo opened this issue Sep 21, 2020 · 8 comments
Assignees
Milestone

Comments

@cyablo
Copy link
cyablo commented Sep 21, 2020

SInce I updated my sbs20/scanservjs:latest docker image to 2.0.2, scanservjs stopped working. Neither preview nor scan works. Error message:

/usr/bin/scanimage -d "net:192.168.1.4:xerox_mfp:libusb:001:003" --mode "color" --resolution 100 -l nan -t nan -x nan -y nan --format "tiff" > ./data/preview/preview.tif exited with code: 4, stderr: scanimage: rounded value of tl-x from -32768 to -32768 scanimage: rounded value of tl-y from -32768 to -32768 scanimage: rounded value of br-x from -32768 to -32768 scanimage: rounded value of br-y from -32768 to -32768 scanimage: sane_start: invalid argument

Saned is running on an OpenWRT 19.07.3 router, to which my Samsung SCX3200 MFP is connected to.

@sbs20
Copy link
Owner
sbs20 commented Sep 21, 2020

Hi. Could you run scanimage -A > tmp.txt and upload the result please?

@cyablo
Copy link
Author
cyablo commented Sep 21, 2020

Hi there, sure, here we go:

All options specific to device `net:192.168.1.4:xerox_mfp:libusb:001:003':
Standard:
--resolution 75|100|150|200|300|600|1200dpi [150]
Sets the resolution of the scanned image.
--mode Lineart|Halftone|Gray|Color [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
--highlight 30..70% (in steps of 10) [inactive]
Select minimum-brightness to get a white point
--source Flatbed|ADF|Auto [Flatbed]
Selects the scan source (such as a document-feeder).
Geometry:
-l 0..215.9mm (in steps of 1) [0]
Top-left x position of scan area.
-t 0..297.18mm (in steps of 1) [0]
Top-left y position of scan area.
-x 0..215.9mm (in steps of 1) [215.9]
Width of scan-area.
-y 0..297.18mm (in steps of 1) [297.18]
Height of scan-area.

@sbs20
Copy link
Owner
sbs20 commented Sep 21, 2020

Thank you. I don't suppose you could upload it as a file could you? I just want to preserve all the formatting. I'll investigate and get a fix in ASAP.

@cyablo
Copy link
Author
cyablo commented Sep 21, 2020

absolutely no problem:

out.txt

take your time and thanks for the support.

@sbs20
Copy link
Owner
sbs20 commented Sep 21, 2020

Perfect. I've reproduced the problem, thank you.

@sbs20 sbs20 self-assigned this Sep 21, 2020
@sbs20 sbs20 added this to the v2.0.3 milestone Sep 21, 2020
@sbs20 sbs20 changed the title docker v2.0.2 not working Incorrect device parsing where geometry includes steps Sep 21, 2020
sbs20 pushed a commit that referenced this issue Sep 21, 2020
@sbs20
Copy link
Owner
sbs20 commented Sep 22, 2020

This should be resolved in sbs20/scanservjs:staging

@cyablo
Copy link
Author
cyablo commented Sep 22, 2020

I'm not at home but preview and scan seems to work now (there is nothing inside the scanner so preview and scan is white). Will try later...

@sbs20 sbs20 mentioned this issue Sep 23, 2020
@sbs20 sbs20 closed this as completed Sep 23, 2020
@cyablo
Copy link
Author
cyablo commented Sep 27, 2020

Sorry for the late reply: works now, THX!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0