backend/avision: implement ADF first-sheet offset compensation

i1120 has another offset. When scanning in ADF multi-page mode (the
default), the very first sheet is moved 1.5mm down. That leads to 1.5mm
being cut off at the bottom.
This implements the (hopefully last) offset setting for multi-sheet ADF
scans.

Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
merge-requests/244/head
Michael Niewöhner 2018-10-27 18:43:39 +02:00
rodzic e96ce8887e
commit 6a6927b198
2 zmienionych plików z 268 dodań i 180 usunięć

Plik diff jest za duży Load Diff

Wyświetl plik

@ -239,6 +239,7 @@ typedef struct Avision_HWEntry {
/* ADF offsets in mm */
struct {
float first; /* offset difference first sheet */
mm_offset front; /* front-only */
struct {
mm_offset front;