Correct tpo scan area for agfa arcus 1200

merge-requests/813/head
Antoni Simka 2023-07-28 18:21:50 +02:00
rodzic 9d721e4610
commit caaf65f1a3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: A702039FF9AB743E
1 zmienionych plików z 14 dodań i 0 usunięć

Wyświetl plik

@ -138,6 +138,16 @@ static const SANE_Range y_range_tpo_default =
SANE_FIX (0.0), SANE_FIX (180.0), 0
}; /* mm */
/* TPO range for the Agfa Arcus 1200 */
static const SANE_Range x_range_tpo_arcus =
{
SANE_FIX (0.0), SANE_FIX (203.0), 0
}; /* mm */
static const SANE_Range y_range_tpo_arcus =
{
SANE_FIX (0.0), SANE_FIX (254.0), 0
}; /* mm */
/* TPO range for the Agfa 1236 */
static const SANE_Range x_range_tpo_1236 =
{
@ -330,6 +340,10 @@ static void init_options (SnapScan_Scanner * ps)
x_range_tpo = x_range_tpo_3490;
y_range_tpo = y_range_tpo_3490;
break;
case ARCUS1200:
x_range_tpo = x_range_tpo_arcus;
y_range_tpo = y_range_tpo_arcus;
break;
default:
x_range_tpo = x_range_tpo_default;
y_range_tpo = y_range_tpo_default;