Searched defs:printer (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jdk/src/windows/classes/sun/print/
H A DWin32PrintServiceLookup.java54 private String[] printers; /* excludes the default printer */
55 private PrintService[] printServices; /* includes the default printer */
94 // start the printer listener thread
223 * Special case: If client is asking for a particular printer
340 private native long notifyFirstPrinterChange(String printer); argument
H A DWin32PrintService.java116 // We support collation on 2D printer jobs, even if the driver can't.
187 private String printer; field in class:Win32PrintService
215 throw new IllegalArgumentException("null printer name");
217 printer = name;
235 return printer;
240 name = new PrinterName(printer, null);
335 int[] media = getAllMediaIDs(printer, getPort());
348 // Get all mediaSizes supported by the printer.
470 float[] prnArea = (defPaper != 0) ? getMediaPrintableArea(printer, defPaper) : null;
528 int[] mediaTr = getAllMediaTrays(printer, prnPor
[all...]
/openjdk7/jdk/test/javax/print/attribute/
H A DServiceDialogTest.java33 * 2nd service (system default printer) and Test Printer.
34 * 3. Make sure "Postscript" printer is the default and make sure the
120 private String printer = null; field in class:TestPrintService
127 throw new IllegalArgumentException("null printer name");
129 printer = printerName;
135 return printer;
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DCUPSPrinter.java58 private static synchronized native String[] getMedia(String printer); argument
59 private static synchronized native float[] getPageSizes(String printer); argument
71 private String printer; field in class:CUPSPrinter
91 throw new IllegalArgumentException("null printer name");
93 printer = printerName;
103 media = getMedia(printer);
105 // either PPD file is not found or printer is unknown
110 pageSizes = getPageSizes(printer);
234 * Get CUPS default printer using IPP.
263 "printer
[all...]
H A DUnixPrintJob.java833 private String[] printExecCmd(String printer, String options, argument
847 if (printer != null && !printer.equals("") && !printer.equals("lp")) {
873 execCmd[n++] = "-d" + printer;
892 execCmd[n++] = "-P" + printer;
926 // Inner class to run "privileged" to open the printer output stream.
938 * the printer then deleted. In the case that the file
992 * Spool to the printer.
H A DUnixPrintService.java190 private String printer; field in class:UnixPrintService
199 throw new IllegalArgumentException("null printer name");
201 printer = name;
210 return printer;
215 name = new PrinterName(printer, null);
221 String command = "/usr/bin/lpstat -a " + printer;
225 if (results[0].startsWith(printer + " accepting requests")) {
228 else if (results[0].startsWith(printer)) {
232 int index = printer.length();
253 String command = "/usr/sbin/lpc status " + printer
[all...]
H A DIPPPrintService.java83 private String printer; field in class:IPPPrintService
121 // printer attributes group
129 // gets the attributes for a printer
131 // gets the default printer
161 // CUPS does not supply printer-resolution attribute
179 {PrinterInfo.class, "printer-info"},
180 {PrinterIsAcceptingJobs.class, "printer-is-accepting-jobs"},
181 {PrinterLocation.class, "printer-location"},
182 {PrinterMakeAndModel.class, "printer-make-and-model"},
183 {PrinterMessageFromOperator.class, "printer
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DCUPSfuncs.c202 jstring printer)
214 name = (*env)->GetStringUTFChars(env, printer, NULL);
222 (*env)->ReleaseStringUTFChars(env, printer, name);
318 jstring printer)
325 const char *name = (*env)->GetStringUTFChars(env, printer, NULL);
334 (*env)->ReleaseStringUTFChars(env, printer, name);
200 Java_sun_print_CUPSPrinter_getMedia(JNIEnv *env, jobject printObj, jstring printer) argument
316 Java_sun_print_CUPSPrinter_getPageSizes(JNIEnv *env, jobject printObj, jstring printer) argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DAbstractDiagnosticFormatter.java187 return printer.visit((Type)arg, l);
190 return printer.visit((Symbol)arg, l);
476 return printer;
479 public void setPrinter(Printer printer) { argument
480 this.printer = printer;
484 * An enhanced printer for formatting types/symbols used by
492 protected Printer printer = new Printer() { field in class:AbstractDiagnosticFormatter
H A DRichDiagnosticFormatter.java51 * the diagnostic is rendered using a standard formatter, whose type/symbol printer
78 /* type/symbol printer used by this formatter */
79 private RichPrinter printer; field in class:RichDiagnosticFormatter
128 * Sets the type/symbol printer used by this formatter.
129 * @param printer the rich printer to be set
131 protected void setRichPrinter(RichPrinter printer) { argument
132 this.printer = printer;
133 formatter.setPrinter(printer);
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DJobAttributes.java32 * destination, print dialog, file and printer names, page ranges, multiple
107 "file", "printer"
118 * specifying print to printer.
256 private String printer; field in class:JobAttributes
328 * @param printer the possibly <code>null</code> printer name
339 int[][] pageRanges, String printer, SidesType sides) {
349 setPrinter(printer);
388 printer = obj.printer;
335 JobAttributes(int copies, DefaultSelectionType defaultSelection, DestinationType destination, DialogType dialog, String fileName, int maxPage, int minPage, MultipleDocumentHandlingType multipleDocumentHandling, int[][] pageRanges, String printer, SidesType sides) argument
823 setPrinter(String printer) argument
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A DidealGraphPrinter.cpp75 IdealGraphPrinter *IdealGraphPrinter::printer() { function in class:IdealGraphPrinter
83 IdealGraphPrinter *printer = new IdealGraphPrinter(); local
84 compiler_thread->set_ideal_graph_printer(printer);
95 IdealGraphPrinter *printer = c->ideal_graph_printer(); local
96 if (printer) {
97 delete printer;
H A Dparse2.cpp2342 IdealGraphPrinter *printer = IdealGraphPrinter::printer(); local
2343 if(printer) {
2346 bool old = printer->traverse_outs();
2347 printer->set_traverse_outs(true);
2348 printer->print_method(C, buffer, 4);
2349 printer->set_traverse_outs(old);
/openjdk7/jdk/src/windows/native/sun/windows/
H A DWPrinterJob.cpp98 // Copy printer name into passed-in buffer...
178 jstring printer) {
182 if (printer != NULL) {
184 printer,
186 JNU_ReleaseStringPlatformChars(env, printer, printerName);
189 // printerName - "Win NT/2K/XP: If NULL, it indicates the local printer
236 jstring printer,
242 printer, NULL);
251 /* Start by opening the printer */
253 JNU_ReleaseStringPlatformChars(env, printer, printerNam
176 Java_sun_print_Win32PrintServiceLookup_notifyFirstPrinterChange(JNIEnv *env, jobject peer, jstring printer) argument
234 Java_sun_print_Win32PrintService_getMediaPrintableArea(JNIEnv *env, jobject peer, jstring printer, jint papersize) argument
314 Java_sun_print_Win32PrintService_getAllMediaIDs(JNIEnv *env, jobject peer, jstring printer, jstring port) argument
362 Java_sun_print_Win32PrintService_getAllMediaTrays(JNIEnv *env, jobject peer, jstring printer, jstring port) argument
412 Java_sun_print_Win32PrintService_getAllMediaSizes(JNIEnv *env, jobject peer, jstring printer, jstring port) argument
463 getAllDCNames(JNIEnv *env, jobject peer, jstring printer, jstring port, unsigned int dc_id, unsigned int buf_len) argument
515 Java_sun_print_Win32PrintService_getAllMediaNames(JNIEnv *env, jobject peer, jstring printer, jstring port) argument
525 Java_sun_print_Win32PrintService_getAllMediaTrayNames(JNIEnv *env, jobject peer, jstring printer, jstring port) argument
535 Java_sun_print_Win32PrintService_getCopiesSupported(JNIEnv *env, jobject peer, jstring printer, jstring port) argument
571 Java_sun_print_Win32PrintService_getAllResolutions(JNIEnv *env, jobject peer, jstring printer, jstring port) argument
653 Java_sun_print_Win32PrintService_getPrinterPort(JNIEnv *env, jobject peer, jstring printer) argument
688 Java_sun_print_Win32PrintService_getCapabilities(JNIEnv *env, jobject peer, jstring printer, jstring port) argument
756 Java_sun_print_Win32PrintService_getDefaultSettings(JNIEnv *env, jobject peer, jstring printer, jstring port) argument
877 Java_sun_print_Win32PrintService_getJobStatus(JNIEnv *env, jobject peer, jstring printer, jint type) argument
969 Java_sun_print_Win32PrintJob_startPrintRawData(JNIEnv *env, jobject peer, jstring printer, jstring jobname) argument
[all...]
H A Dawt_PrintControl.cpp137 // printer name as "LPT1:" (even though this is actually a port
138 // name), we won't find the printer here.
178 // We failed to determine port name for the found printer.
195 // We still haven't found the printer, /* or we're using 95/98. */
196 // PRINTER_INFO_5 supports both printer name and port name, so
199 // remote printer names above (and remote printer port names are
200 // the same as remote printer names). On 95/98, PRINTER_ENUM_LOCAL
469 WORD AwtPrintControl::getNearestMatchingPaper(LPTSTR printer, LPTSTR port, argument
478 if ((printer
[all...]
H A Dawt_PrintJob.cpp427 * If both are null, then there is no default printer.
475 /* The printer may have been changed, and we track that change,
476 * but then need to get a new DC for the current printer so that
482 LPTSTR printer = (LPTSTR)names+names->wDeviceOffset; local
484 HDC newDC = ::CreateDC(TEXT("WINSPOOL"), printer, NULL, NULL);
614 /* Start by opening the printer */
710 * Query the current or default printer to find all paper sizes it
713 * against the printer's capabilities.
721 * been created, use that. Else get a DC for the default printer
889 * We create a device context for the default printer
1030 GetPrinterPort(JNIEnv *env, LPTSTR printer) argument
1091 LPTSTR printer = lpdevnames+devnames->wDeviceOffset; local
[all...]
/openjdk7/jdk/src/share/demo/jfc/Font2DTest/
H A DFontPanel.java144 private PrinterJob printer = null; field in class:FontPanel
316 if ( printer == null ) {
317 printer = PrinterJob.getPrinterJob();
318 page = printer.defaultPage();
321 printer.setPrintable( fc, page );
323 if ( printer.printDialog() ) {
325 printer.print();
335 if ( printer == null ) {
336 printer = PrinterJob.getPrinterJob();
337 page = printer
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DPSPrinterJob.java106 * A class which initiates and executes a PostScript printer job.
225 * The PostScript to pop a state off of the printer's
230 * The PostScript to push a state on to the printer's
253 * Use the top number on the stack to set the printer's
290 /* The temporary file to which we spool before sending to the printer */
649 // Inner class to run "privileged" to open the printer output stream.
659 * the printer then deleted. In the case that the file
711 * Spool to the printer.
1007 * print job to the printer's control language
1352 * Set the printer'
1536 printExecCmd(String printer, String options, boolean noJobSheet, String banner, int copies, String spoolFile) argument
[all...]

Completed in 76 milliseconds