Lines Matching defs:printServices
70 private PrintService[] printServices; /* includes the default printer */
192 if (printServices == null || !pollServices) {
195 if (printServices == null) {
198 return printServices;
203 // refreshes "printServices"
229 printServices = new PrintService[1];
230 printServices[0] = defaultPrintService;
232 printServices = null;
248 if (printServices == null) {
268 for (j=0; j<printServices.length; j++) {
269 if ((printServices[j] != null) &&
270 (printers[p].equals(printServices[j].getName()))) {
271 printerList.add(printServices[j]);
272 printServices[j] = null;
277 if (j == printServices.length) { // not found?
299 if (printServices != null) {
300 for (int j=0; j < printServices.length; j++) {
301 if ((printServices[j] instanceof UnixPrintService) &&
302 (!printServices[j].equals(defaultPrintService))) {
303 ((UnixPrintService)printServices[j]).invalidateService();
315 printServices = (PrintService[])printerList.toArray(
320 PrintService saveService = printServices[0];
321 printServices[0] = printServices[defaultIndex];
322 printServices[defaultIndex] = saveService;
369 if (printServices != null) {
370 for (PrintService printService : printServices) {
564 if (printServices != null) {
565 for (int j=0; j<printServices.length; j++) {
566 if (defaultPrinter.equals(printServices[j].getName())) {
567 defaultPrintService = printServices[j];
594 if (printServices != null) {
595 listener.notifyServices(printServices);
804 if ((printServices != null) &&
805 (printServices.length > minRefreshTime)) {
807 refreshSecs = printServices.length;