--- a/cups/mark.c +++ b/cups/mark.c @@ -788,6 +788,11 @@ if (!_cups_strcasecmp(option, "AP_D_InputSlot")) { + /* CUPS adds AP_D_InputSlot to all jobs, if not explicitly set with + empty argument, making the InputSlot option useless. So ignore it + if the argument is empty. */ + if (choice[0] == '\0') return; + cupsArraySave(ppd->options); if ((o = ppdFindOption(ppd, "InputSlot")) != NULL)