调整G400 无三联尺寸问题、

This commit is contained in:
13038267101 2022-09-19 15:03:20 +08:00
parent aebdb26ae3
commit 3b211a4437
1 changed files with 3 additions and 2 deletions

View File

@ -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;