Hi Allan and All, At last I had time to reproduce the bug in scanimage. I've scanned an A5 paper in portrait. The command I've used is "scanimage --batch --source 'ADF Front' --mode 'Gray' --resolution 200 --page-width 148.5 --page-height 210 -x 148.5 -y 210"
The scanned image as the result of the command is attached (Output was pnm but I converted it). I have not modified the driver further. It's the code that I compiled for my initial tests. Hope this helps. I'll do my best to assist further. Best Regards, Hakan Bayindir On 07/11/2013 04:35 AM, m. allan noah wrote: > On Wed, Jul 10, 2013 at 9:34 PM, m. allan noah <kitno455 at gmail.com> wrote: >> On Wed, Jul 10, 2013 at 7:38 AM, m. allan noah <kitno455 at gmail.com> wrote: >>> On Tue, Jul 9, 2013 at 3:34 AM, Hakan Bay?nd?r >>> <hakan.bayindir at pardus.org.tr> wrote: >> >>>> - XSane is making cropping errors with media smaller than A4. I've scanned >>>> a >>>> set of A5 pages. Before, I got a preview from Xsane and set the margins. >>>> Right side of the pages are cropped and mirrored to left side. Mirrored >>>> part >>>> was approximately 1cm. Gap between mirrored part and actual left margin was >>>> also ~1cm. >>> >>> This sounds like a bug- please attempt to reproduce this with >>> scanimage, and send me the command you use, and the image. >> >> In the DR-3010 section of init_model, you should try to remove the >> fixed_width setting, and the valid_y setting. It is possible that your >> scanner does not need those, they were copied from the DR-2510 >> section. > > Ah, I misspoke- I meant to say valid_x. > > allan > -------------- next part -------------- A non-text attachment was scrubbed... Name: out1.jpg Type: image/jpeg Size: 137191 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130715/1500e9f4/attachment-0001.jpg>