I got the same problem with skewed scans using libsane-perl when running
gscan2pdf directly from source. I couldn't use scanimage with my scanner
"Fujitsu fi-4120C2" because the scanner wasn't found. I found a solution
to add the scanner to scanimage:

Create the file "40-libsane.rules", put in the text below, restarted the 
scanner.
$ sane-find-scanner
found USB scanner (vendor=0x04c5, product=0x10ae) at libusb:001:005

$ cat /etc/udev/rules.d/40-libsane.rules
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10ae", ENV{libsane_matched}="yes"

$ scanimage -L
device `fujitsu:fi-4120C2dj:28848' is a FUJITSU fi-4120C2dj scanner


Anyway, to troubleshoot libsane-perl a little more, I got the skewed scans 
using a modified perl-source for gscan2pdf v1.7.1. If I run a compiled version 
of gscan2pdf the scans works without skew. If I run the original perl-source 
for gscan2pdf v1.7.1 it works without skew, so obviously it was my 
modifications in the source that caused the skewing. After troubleshooting I 
find this line in the source causing the skewing:

use Encode::Escape qw();

I removed it and now the scanning with libsane-perl works again without
skewing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/358970

Title:
  gscan2pdf distorts image with scanimage.pl frontend, but works with
  scanadf frontend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gscan2pdf/+bug/358970/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to