return new CupsGetDefaultOperation().getDefaultPrinter(url);
}
public CupsPrinter getPrinter(URL printerURL) throws Exception {
List<CupsPrinter> printers = getPrinters();
for (CupsPrinter p : printers) {
<BUG>if (p.getPrinterURL().getPath().toString().equals(printerURL.getPath().toString()))
return p;</BUG>
}
return null;
}

return new CupsGetDefaultOperation().getDefaultPrinter(url);
}
public CupsPrinter getPrinter(URL printerURL) throws Exception {
List<CupsPrinter> printers = getPrinters();
for (CupsPrinter p : printers) {
if (p.getPrinterURL().getPath().equals(printerURL.getPath()))
return p;
}
return null;
}
