diff --git a/docs/G139-239.txt b/docs/G139-239.txt index 0f54a01..63738d7 100644 --- a/docs/G139-239.txt +++ b/docs/G139-239.txt @@ -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", diff --git a/tools/apps/hgjson/hgjsonDlg.cpp b/tools/apps/hgjson/hgjsonDlg.cpp index 483b830..74f160c 100644 --- a/tools/apps/hgjson/hgjsonDlg.cpp +++ b/tools/apps/hgjson/hgjsonDlg.cpp @@ -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"} // ҶȻڰͼ - ɫ