Lines Matching refs:PrintService
38 import javax.print.PrintService;
53 private PrintService defaultPrintService;
55 private PrintService[] printServices; /* includes the default printer */
101 /* Want the PrintService which is default print service to have
106 public synchronized PrintService[] getPrintServices() {
122 printServices = new PrintService[0];
126 PrintService[] newServices = new PrintService[printers.length];
127 PrintService defService = getDefaultPrintService();
165 public synchronized PrintService getPrintServiceByName(String name) {
171 PrintService[] printServices = getPrintServices();
181 boolean matchingService(PrintService service,
197 public PrintService[] getPrintServices(DocFlavor flavor,
227 PrintService[] services = null;
230 PrintService service = getPrintServiceByName(name.getValue());
232 services = new PrintService[0];
234 services = new PrintService[1];
254 services = new PrintService[matchingServices.size()];
255 return (PrintService[])matchingServices.toArray(services);
273 public synchronized PrintService getDefaultPrintService() {
293 // Not the same as default so proceed to get new PrintService.