diff --git a/hplip-find-driver.patch b/hplip-find-driver.patch index fbc038e..4f11bb8 100644 --- a/hplip-find-driver.patch +++ b/hplip-find-driver.patch @@ -1,5 +1,5 @@ diff --git a/prnt/cups.py b/prnt/cups.py -index a9f410a..b3e7434 100644 +index a9f410a..733891b 100644 --- a/prnt/cups.py +++ b/prnt/cups.py @@ -489,49 +489,72 @@ def getPPDFile2(mq,model, ppds): # New PPD find @@ -98,7 +98,7 @@ index a9f410a..b3e7434 100644 + pdls.append(pdl) + ppd_model=ppd_model.replace('-{}'.format(pdl), '') + -+ if ppd_model != wanted_model: ++ if ppd_model != wanted_model and ppd_model != '{}_series'.format(wanted_model): + continue + + log.debug("Found match: %s" % f)