300设备屏蔽最大扫描尺寸自动裁切

This commit is contained in:
yangjiaxuan 2023-11-24 18:07:44 +08:00
parent 52097e47e7
commit 7333a2b964
1 changed files with 2 additions and 1 deletions

View File

@ -2046,8 +2046,9 @@ int hg_scanner::setting_resolution(void* data, long* len)
int max_papers[3] = { PAPER_MAX_SIZE ,PAPER_MAX_SIZE_CLIP , PAPER_TRIGEMINY };
if (pid_ == 0x300 || pid_ == 0x302)
if (pid_ == 0x300)
{
max_papers[1] = { -1 };
max_papers[2] = { -1 };
}
//std::string now(setting_jsn_.at(SANE_STD_OPT_NAME_PAPER).at("range").dump());