Re: [sane-devel] pixma backend: -x/y auto advertised but not available / how to crop?
Nobody? I found this old discussion which seems to suggest the pixma devices don't support auto-detection: http://lists.alioth.debian.org/pipermail/sane-devel/2009-December/025674.html If that's indeed the case, may I suggest updating the pixma backend so that it doesn't advertise capabilities that don't exist? Also, I'd still appreciate suggestion for a scriptable approach to achieve this functionality. Thanks, Manuel Am 11.04.2017 um 16:44 schrieb Manuel Reiter: > I'm using saned with a Pixma MP610 all-in-one on a Raspberry Pi 3 running an > up-to-date Rasbian Jessie. scanimage --help shows me the following options > for Geometry: > > [...] > Options specific to device `net:localhost:pixma:04A91725_414EE7': > [...] > Geometry: >-l auto|0..216.069mm [0] >Top-left x position of scan area. >-t auto|0..297.011mm [0] >Top-left y position of scan area. >-x auto|0..216.069mm [216.069] >Width of scan-area. >-y auto|0..297.011mm [297.011] >Height of scan-area. > [...] > > However, trying to actually use "-x auto" results in an error: > > --snip > reiter@hive:~ $ scanimage -d net:localhost:pixma --mode Color \ > --resolution 300 -l auto -t auto -x auto -y auto > /dev/null > scanimage: option --x: bad option value (rest of option: auto) > --snip > > Is this a bug or an error on my part? > > I intend to use this scanner for a document management system and expect to > scan quite a number of non-full-size documents. If x/y auto is indeed not > available, what would be a good way to automatically crop my scans? The > included (Mac) Software actually does a decent job so it seems to be possible. > > Thanks in advance for your answers! > > Cheers, > > Manuel > > -- > sane-devel mailing list: sane-devel@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" >to sane-devel-requ...@lists.alioth.debian.org -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] TIFF to PDF at 300dpi?
Hi all, this might be a bit off topic here and if that's against this list's policy, I apologize in advance, but I've been websearching literally for hours now without finding a solution and I figure somebody here might have had the same problem before. I want to convert a TIFF, scanned at 300 dpi, to a PDF of the same size and dpi. From my searches, this should be achievable both with ImageMagick's "convert" with output option "-r300" and with ghostscript and "-dPDFSETTINGS=/printer". However, both approaches don't work for me. convert resamples the image to 72 dpi while ghostscript correctly embeds the image at full resolution but does apparently not set the required metadata for the PDF/embedded image resolution to be recognised as 300 dpi. Any ideas anybody? Suggestions where else to ask are also highly welcome. Thanks in advance! Cheers, Manuel -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] pixma backend: -x/y auto advertised but not available / how to crop?
I'm using saned with a Pixma MP610 all-in-one on a Raspberry Pi 3 running an up-to-date Rasbian Jessie. scanimage --help shows me the following options for Geometry: [...] Options specific to device `net:localhost:pixma:04A91725_414EE7': [...] Geometry: -l auto|0..216.069mm [0] Top-left x position of scan area. -t auto|0..297.011mm [0] Top-left y position of scan area. -x auto|0..216.069mm [216.069] Width of scan-area. -y auto|0..297.011mm [297.011] Height of scan-area. [...] However, trying to actually use "-x auto" results in an error: --snip reiter@hive:~ $ scanimage -d net:localhost:pixma --mode Color \ --resolution 300 -l auto -t auto -x auto -y auto > /dev/null scanimage: option --x: bad option value (rest of option: auto) --snip Is this a bug or an error on my part? I intend to use this scanner for a document management system and expect to scan quite a number of non-full-size documents. If x/y auto is indeed not available, what would be a good way to automatically crop my scans? The included (Mac) Software actually does a decent job so it seems to be possible. Thanks in advance for your answers! Cheers, Manuel -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org
[sane-devel] scanbd on Raspbian: scanner only sporadically detected
Hi everybody, I'm currently trying to set up saned with a Canon Pixma MP610 on a Raspberry Pi 3 running the latest Raspbian Jessie. Scanning works well, however I have some trouble gettings scanbd to work reliably. Scanbd will only detect the scanner on startup every once in a while. Log from the last successful start is at http://paste.debian.net/926687 This was a foreground run, unfortunately only on debug level 4. After I terminated this run, I started scanbd via systemd. This did not detect my scanner. All subsequent tries were unsuccessfull as well. Log from one such try at debug level 7 is at http://paste.debian.net/926688 My config files are /etc/scanbd/scanbd.conf:http://paste.debian.net/926677 /etc/scanbd/sane.d/saned.conf: http://paste.debian.net/926680 /etc/scanbd/sane.d/dll.conf:http://paste.debian.net/926683 /etc/saned/saned.conf: http://paste.debian.net/926684 /etc/saned/dll.conf:http://paste.debian.net/926685 What seems weird to me is that scanimage -L detects the scanner reliably every time, both local and remote, so scanbm doesn't seem to share the problem. Any hints on how to debug this are highly welcome, thanks in advance! If you need any more info, please ask! Cheers, Manuel -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org