Searched refs:stripped_model (Results 1 – 2 of 2) sorted by relevance
/dports/print/hplip/hplip-3.20.6/ |
H A D | dat2drv.py | 686 stripped_model = m 688 if stripped_model.startswith('hp_'): 689 stripped_model = stripped_model.replace('hp_', '').capitalize() 691 elif stripped_model.startswith('apollo_'): 692 stripped_model = stripped_model.replace('apollo_', '').capitalize() 694 fixed_model = stripped_model.replace('_', ' ').capitalize() 697 … outputModel(m, fixed_model, stripped_model, make, postscriptppd, ieee1284, output_path, verbose) 700 outputDriver(m, fixed_model, stripped_model, make, printers_node, verbose) 817 printerID = make + '-' + stripped_model 889 def outputDriver(m, fixed_model, stripped_model, make, printers_node, verbose): argument [all …]
|
/dports/print/hplip/hplip-3.20.6/prnt/ |
H A D | cups.py | 405 def getPPDFile(stripped_model, ppds): # Old PPD find argument 414 …og.debug("Determining edit distance from %s (only showing edit distances < 4)..." % stripped_model) 417 eds[f] = levenshtein_distance(stripped_model, t) 438 model_number = number_pat.match(stripped_model).group(1) 500 stripped_model = stripModel2(model) 502 stripped_model = stripModel2(ppd_name) 504 log.debug("Matching PPD list to model %s..." % stripped_model) 511 if match.group(1) == stripped_model: 539 …og.debug("No PPD found for model %s using new algorithm. Trying old algorithm..." % stripped_model) 541 matches2 = list(getPPDFile(stripModel(stripped_model), ppds).items()) [all …]
|