新增跳过空白页

This commit is contained in:
13038267101 2023-08-16 15:32:58 +08:00
parent e76695b5b9
commit 3ddba246a0
2 changed files with 19 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"global": {
"device_type": "G139-G239",
"option_count": 77
"option_count": 78
},
"restore": {
"cat": "base",
@ -493,6 +493,22 @@
"size": 40,
"range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"]
},
"discardblank": {
"cat": "base",
"readonly": false,
"affect": 0,
"group": "base",
"visible": true,
"field": "Common",
"pos": 0,
"unit": "None",
"title": "跳过空白页",
"desc": "",
"type": "bool",
"cur": false,
"default": false,
"size": 4
},
"blank-sensitivity": {
"cat": "base",
"readonly": false,
@ -513,7 +529,7 @@
"max": 100,
"step": 1
},
"depend_or": ["page==跳过空白页(通用)", "==跳过空白页(发票纸)"]
"depend_or": ["page==跳过空白页(发票纸)", "==跳过空白页(通用)", "==true"]
},
"fold-type": {
"cat": "base",

View File

@ -5950,6 +5950,7 @@ struct
, {SANE_STD_OPT_NAME_FOLD_TYPE , OPTION_TITLE_DZMS}
, {SANE_STD_OPT_NAME_COLOR_CORRECTION , OPTION_TITLE_SPJZ}
, {SANE_STD_OPT_NAME_WAIT_SCAN_EXIT , OPTION_TITLE_DZSMTCSJ}
, {SANE_STD_OPT_NAME_DISCARDBLANK , OPTION_TITLE_TGKBY}
},
g_discard[] = { {SANE_STD_OPT_NAME_REVERSE_01 , "\351\273\221\347\231\275\345\233\276\345\203\217\345\217\215\350\211\262\350\276\223\345\207\272\357\274\210\346\255\243\345\270\270\351\242\234\350\211\262\344\270\272\357\274\2320-\351\273\221\350\211\262\357\274\2331-\347\231\275\350\211\262\357\274\211"} // 黑白图像反色输出正常颜色为0-黑色1-白色)
, {SANE_STD_OPT_NAME_FILTER , "\347\201\260\345\272\246\346\210\226\351\273\221\347\231\275\345\233\276\345\203\217 - \351\231\244\350\211\262"} // 灰度或黑白图像 - 除色