We remove "series" from the model names when normalizing now, so we
also get a match if the printer list entry has "series" but the search
term not, or vice-versa (when both printer list enries and search
terms are normalized).
while (strncasecmp(buffer, modelptr, modelptr - buffer) == 0)
moverightpart(buffer, bufsize, modelptr, buffer - modelptr);
+ /*
+ * Clean up the model name...
+ */
+
+ bufptr = modelptr;
+ while ((bufptr = strcasestr(bufptr, " series")) != NULL)
+ {
+ /*
+ * Strip "series"...
+ */
+
+ moverightpart(buffer, bufsize, bufptr, -7);
+ }
+
/*
* Find extra info...
*/