option_descriptors[option].name = "outputtype";
option_descriptors[option].title = "outputtype";
option_descriptors[option].desc = "outputtype";
- option_descriptors[option].cap = SANE_CAP_SOFT_DETECT;
- option_descriptors[option].constraint_type = SANE_CONSTRAINT_NONE;
- option_descriptors[option].constraint.string_list = NULL;
+ option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT;
+ option_descriptors[option].constraint_type = SANE_CONSTRAINT_STRING_LIST;
+ SANE_String_Const* constraint_output_type = malloc(sizeof(char*) * 3);
+ constraint_output_type[0] = "Images";
+ constraint_output_type[1] = "SinglePageColorPDFPlus2TIFs";
+ constraint_output_type[2] = NULL;
+ option_descriptors[option].constraint.string_list = constraint_output_type;
break;
case 9:
option_descriptors[option].name = "colorautobrightnessmode";