Lines Matching refs:printer
61 static NSPrintInfo* createDefaultNSPrintInfo(JNIEnv* env, jstring printer)
64 if (printer != NULL)
66 NSPrinter* nsPrinter = [NSPrinter printerWithName:JNFJavaToNSString(env, printer)];
76 // to get values from the printer.
78 // the user selects a different printer - see radr://3657453. However, rather than
293 // <rdar://problem/4022422> NSPrinterInfo is not correctly set to the selected printer
294 // from the Java side of CPrinterJob. Has always assumed the default printer was the one we wanted.
300 NSPrinter *printer = [NSPrinter printerWithName:printerName];
301 if (printer == nil) return;
302 [dstPrintInfo setPrinter:printer];
312 // get the selected printer's name, and set the appropriate PrintService on the Java side
313 NSString *name = [[src printer] name];
533 // <rdar://problem/4156975> passing jthis CPrinterJob as well, so we can extract the printer name from the current job
536 // <rdar://problem/4093799> NSPrinterInfo is not correctly set to the selected printer
537 // from the Java side of CPrinterJob. Had always assumed the default printer was the one we wanted.
542 NSPrinter *printer = [NSPrinter printerWithName:printerName];
543 if (printer != nil) [printInfo setPrinter:printer];
594 // <rdar://problem/4156975> passing NULL, because only a CPrinterJob has a real printer associated with it