Modified behaviour of the option "eject after each scan":

Eject is suppresed for film scanners after preview scans.
merge-requests/1/head
Ulrich Deiters 2003-03-22 16:31:52 +00:00
rodzic d2ebe3dca4
commit c6d5ebe9fb
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
2003-03-22 Ulrich Deiters <ukd@xenon.pc.uni-koeln.de>
* backend/canon.c: Modified the option "eject after each scan" -
Eject is suppressed for film scanners after preview scans.
2003-03-20 Henning Meier-Geinitz <henning@meier-geinitz.de>
* doc/descriptions/unsupported.desc: Added Canon LIDE 50, IBM

Wyświetl plik

@ -1058,7 +1058,8 @@ do_cancel (CANON_Scanner * s)
if (s->fd >= 0)
{
if (s->val[OPT_EJECT_AFTERSCAN].w == SANE_TRUE)
if (s->val[OPT_EJECT_AFTERSCAN].w && ! (s->val[OPT_PREVIEW].w
&& s->hw->info.is_filmscanner))
{
DBG (3, "do_cancel: sending MEDIUM POSITION\n");
status = medium_position (s->fd);