From 3b211a4437f15834f4d01e537fb5bcd608092c01 Mon Sep 17 00:00:00 2001 From: 13038267101 Date: Mon, 19 Sep 2022 15:03:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4G400=20=E6=97=A0=E4=B8=89?= =?UTF-8?q?=E8=81=94=E5=B0=BA=E5=AF=B8=E9=97=AE=E9=A2=98=E3=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner_400.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hgdriver/hgdev/hg_scanner_400.cpp b/hgdriver/hgdev/hg_scanner_400.cpp index dd31366..69fce93 100644 --- a/hgdriver/hgdev/hg_scanner_400.cpp +++ b/hgdriver/hgdev/hg_scanner_400.cpp @@ -93,7 +93,8 @@ namespace settingsdsp_400 {PAPER_LEGAL, TwSS::USLegal, G400_LEGAL}, {PAPER_AUTO_MATCH, TwSS::None, G400_A3}, {PAPER_MAX_SIZE_CLIP, TwSS::USStatement, G400_MAXSIZE}, - {PAPER_MAX_SIZE, TwSS::MaxSize, G400_MAXSIZE} + {PAPER_MAX_SIZE, TwSS::MaxSize, G400_MAXSIZE}, + {PAPER_TRIGEMINY, TwSS::MaxSize, G400_LONGLETTER}, }; int match_best_paper(int& paper, bool* exact, TwSS* type) { @@ -328,7 +329,7 @@ int hg_scanner_400::start(void) if (ret == SCANNER_ERR_DEVICE_SLEEPING) { status_ = ret; - notify_ui_working_status(STATU_DESC_SCANNER_ERR_DEVICE_SLEEPING, SANE_EVENT_ERROR, status_); + //notify_ui_working_status(STATU_DESC_SCANNER_ERR_DEVICE_SLEEPING, SANE_EVENT_ERROR, status_); notify_ui_working_status(STATU_DESC_SCANNER_ERR_DEVICE_NOTIFY_SLEEP, SANE_EVENT_ERROR, status_); VLOG_MINI_1(LOG_LEVEL_WARNING, "device start status is(%s)\n", STATU_DESC_SCANNER_ERR_DEVICE_SLEEPING); return ret;