Lines Matching defs:printServices
55 private PrintService[] printServices; /* includes the default printer */
117 if (printServices == null) {
120 return printServices;
128 printServices = new PrintService[0];
139 if (printServices == null) {
143 for (j = 0; j < printServices.length; j++) {
144 if ((printServices[j]!= null) &&
145 (printers[p].equals(printServices[j].getName()))) {
146 newServices[p] = printServices[j];
147 printServices[j] = null;
151 if (j == printServices.length) {
159 if (printServices != null) {
160 for (int j=0; j < printServices.length; j++) {
161 if ((printServices[j] instanceof Win32PrintService) &&
162 (!printServices[j].equals(defaultPrintService))) {
163 ((Win32PrintService)printServices[j]).invalidateService();
167 printServices = newServices;
177 PrintService[] printServices = getPrintServices();
178 for (int i=0; i<printServices.length; i++) {
179 if (printServices[i].getName().equals(name)) {
180 return printServices[i];
305 if (printServices != null) {
306 for (int j=0; j<printServices.length; j++) {
307 if (defaultPrinter.equals(printServices[j].getName())) {
308 defaultPrintService = printServices[j];