kopia lustrzana https://gitlab.com/sane-project/backends
Modified behaviour of the option "eject after each scan":
Eject is suppresed for film scanners after preview scans.merge-requests/1/head
rodzic
d2ebe3dca4
commit
c6d5ebe9fb
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue