Lines Matching defs:printServices
55 private PrintService[] printServices; /* includes the default printer */
111 if (printServices == null) {
114 return printServices;
122 printServices = new PrintService[0];
133 if (printServices == null) {
137 for (j = 0; j < printServices.length; j++) {
138 if ((printServices[j]!= null) &&
139 (printers[p].equals(printServices[j].getName()))) {
140 newServices[p] = printServices[j];
141 printServices[j] = null;
145 if (j == printServices.length) {
153 if (printServices != null) {
154 for (int j=0; j < printServices.length; j++) {
155 if ((printServices[j] instanceof Win32PrintService) &&
156 (!printServices[j].equals(defaultPrintService))) {
157 ((Win32PrintService)printServices[j]).invalidateService();
161 printServices = newServices;
171 PrintService[] printServices = getPrintServices();
172 for (int i=0; i<printServices.length; i++) {
173 if (printServices[i].getName().equals(name)) {
174 return printServices[i];
298 if (printServices != null) {
299 for (int j=0; j<printServices.length; j++) {
300 if (defaultPrinter.equals(printServices[j].getName())) {
301 defaultPrintService = printServices[j];