Searched refs:printerName (Results 1 - 15 of 15) sorted by relevance

/openjdk10/jdk/src/java.desktop/windows/native/libawt/windows/
H A DWPrinterJob.cpp184 LPTSTR printerName = NULL; local
186 printerName = (LPTSTR)JNU_GetStringPlatformChars(env,
189 JNU_ReleaseStringPlatformChars(env, printer, printerName);
192 // printerName - "Win NT/2K/XP: If NULL, it indicates the local printer
194 BOOL ret = OpenPrinter(printerName, &hPrinter, NULL);
244 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, local
246 if (printerName == NULL) {
253 HDC pdc = CreateDC(TEXT("WINSPOOL"), printerName, NULL, NULL);
258 if (!::OpenPrinter(printerName, &hPrinter, NULL)) {
259 JNU_ReleaseStringPlatformChars(env, printer, printerName);
317 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
395 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
460 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
557 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
603 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
700 LPTSTR printerName = NULL, printerPort = TEXT("LPT1"); local
731 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
813 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
953 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
1039 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
[all...]
H A Dawt_PrintControl.cpp107 BOOL AwtPrintControl::FindPrinter(jstring printerName, LPBYTE pPrinterEnum, argument
128 DASSERT(printerName != NULL);
132 JavaStringBuffer printerNameBuf(env, printerName);
664 jstring printerName = (jstring) local
667 if (printerName != NULL) {
673 printerName, NULL);
675 env->DeleteLocalRef(printerName);
708 if (AwtPrintControl::FindPrinter(printerName, buffer, &cbBuf,
724 env->DeleteLocalRef(printerName);
737 env->DeleteLocalRef(printerName);
1104 getDevmode( HANDLE hPrinter, LPTSTR printerName, LPDEVMODE *pDevMode) argument
[all...]
H A Dawt_PrintControl.h79 static BOOL FindPrinter(jstring printerName, LPBYTE pPrinterEnum,
H A Dawt_PrintJob.cpp442 LPTSTR printerName = lpdevnames+devnames->wDeviceOffset; local
446 if (::OpenPrinter(printerName, &hPrinter, NULL) == TRUE) {
459 hPrinter, printerName, devmode, devmode,
780 LPTSTR printerName = _tcsdup(lpdevnames+devnames->wDeviceOffset); local
786 if (!::OpenPrinter(printerName, &hPrinter, NULL)) {
791 free ((LPTSTR) printerName);
795 if (!AwtPrintControl::getDevmode(hPrinter, printerName, &pDevMode)) {
802 free ((LPTSTR) printerName);
873 free ((LPTSTR) printerName);
1604 LPTSTR printerName local
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/print/attribute/standard/
H A DPrinterName.java59 * @param printerName printer name
63 * @throws NullPointerException if {@code printerName} is {@code null}
65 public PrinterName(String printerName, Locale locale) { argument
66 super (printerName, locale);
/openjdk10/jdk/test/javax/print/PrintServiceLookup/
H A DGetPrintServices.java42 String printerName = name.getValue();
44 PrintService serviceByName = lookupByName(printerName);
/openjdk10/jdk/test/java/awt/print/PrinterJob/
H A DDummyPrintTest.java65 String printerName = "myDummyPrintService";
66 PrintServiceLookup.registerService(new DummyPrintService(printerName));
68 thirdPartyPrintLogic(printerName);
71 static void thirdPartyPrintLogic(String printerName) throws Exception { argument
78 if (printerName.equals(printService.getName())) {
/openjdk10/jdk/test/javax/print/attribute/
H A DServiceDialogTest.java125 public TestPrintService(String printerName) { argument
126 if (printerName == null) {
129 printer = printerName;
/openjdk10/jdk/src/java.desktop/unix/classes/sun/print/
H A DCUPSPrinter.java99 CUPSPrinter (String printerName) { argument
100 if (printerName == null) {
103 printer = printerName;
H A DPrintServiceLookupProvider.java466 PrinterName printerName = printService.getAttribute(PrinterName.class);
467 if (printerName.getValue().equals(name)) {
/openjdk10/jdk/src/java.desktop/windows/classes/sun/awt/windows/
H A DWPrinterJob.java452 String printerName = getNativePrintService();
453 if (!myService.getName().equals(printerName)) {
459 getPrintServiceByName(printerName));
639 String printerName = getNativePrintService();
641 if (printerName != null) {
643 getPrintServiceByName(printerName);
2183 private void setPrinterNameAttrib(String printerName) { argument
2186 if (printerName == null) {
2190 if (service != null && printerName.equals(service.getName())) {
2195 if (printerName
[all...]
/openjdk10/jdk/src/java.desktop/windows/classes/sun/print/
H A DWin32PrintService.java1716 private native int[] getAllMediaIDs(String printerName, String port); argument
1717 private native int[] getAllMediaSizes(String printerName, String port); argument
1718 private native int[] getAllMediaTrays(String printerName, String port); argument
1719 private native float[] getMediaPrintableArea(String printerName, argument
1721 private native String[] getAllMediaNames(String printerName, String port); argument
1722 private native String[] getAllMediaTrayNames(String printerName, String port); argument
1723 private native int getCopiesSupported(String printerName, String port); argument
1724 private native int[] getAllResolutions(String printerName, String port); argument
1725 private native int getCapabilities(String printerName, String port); argument
1727 private native int[] getDefaultSettings(String printerName, Strin argument
1728 getJobStatus(String printerName, int type) argument
1729 getPrinterPort(String printerName) argument
[all...]
H A DWin32PrintJob.java732 private native boolean startPrintRawData(String printerName, argument
/openjdk10/jdk/src/java.desktop/share/classes/sun/print/
H A DPrintJob2D.java653 String printerName = jobAttributes.getPrinter();
654 if (printerName != null && printerName != ""
655 && pServ != null && !printerName.equals(pServ.getName())) {
657 // Search for the given printerName in the list of PrintServices
661 if (printerName.equals(services[i].getName())) {
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/
H A DCPrinterJob.java613 private void setPrinterServiceFromNative(String printerName) { argument
620 if (printerName.equals(service.getName())) {

Completed in 575 milliseconds