Searched defs:printerName (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/print/attribute/standard/
H A DPrinterName.java56 * @param printerName Printer name.
62 * (unchecked exception) Thrown if <CODE>printerName</CODE> is null.
64 public PrinterName(String printerName, Locale locale) { argument
65 super (printerName, locale);
/openjdk7/jdk/test/javax/print/attribute/
H A DServiceDialogTest.java125 public TestPrintService(String printerName) { argument
126 if (printerName == null) {
129 printer = printerName;
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DCUPSPrinter.java89 CUPSPrinter (String printerName) { argument
90 if (printerName == null) {
93 printer = printerName;
/openjdk7/jdk/src/windows/classes/sun/print/
H A DWin32PrintJob.java731 private native boolean startPrintRawData(String printerName, argument
H A DWin32PrintService.java1618 private native int[] getAllMediaIDs(String printerName, String port); argument
1619 private native int[] getAllMediaSizes(String printerName, String port); argument
1620 private native int[] getAllMediaTrays(String printerName, String port); argument
1621 private native float[] getMediaPrintableArea(String printerName, argument
1623 private native String[] getAllMediaNames(String printerName, String port); argument
1624 private native String[] getAllMediaTrayNames(String printerName, String port); argument
1625 private native int getCopiesSupported(String printerName, String port); argument
1626 private native int[] getAllResolutions(String printerName, String port); argument
1627 private native int getCapabilities(String printerName, String port); argument
1629 private native int[] getDefaultSettings(String printerName, Strin argument
1630 getJobStatus(String printerName, int type) argument
1631 getPrinterPort(String printerName) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterJob.java518 private void setPrinterServiceFromNative(String printerName) { argument
525 if (printerName.equals(service.getName())) {
/openjdk7/jdk/src/windows/native/sun/windows/
H A DWPrinterJob.cpp181 LPTSTR printerName = NULL; local
183 printerName = (LPTSTR)JNU_GetStringPlatformChars(env,
186 JNU_ReleaseStringPlatformChars(env, printer, printerName);
189 // printerName - "Win NT/2K/XP: If NULL, it indicates the local printer
191 BOOL ret = OpenPrinter(printerName, &hPrinter, NULL);
241 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, local
247 HDC pdc = CreateDC(TEXT("WINSPOOL"), printerName, NULL, NULL);
252 if (!::OpenPrinter(printerName, &hPrinter, NULL)) {
253 JNU_ReleaseStringPlatformChars(env, printer, printerName);
259 if (!AwtPrintControl::getDevmode(hPrinter, printerName,
321 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
369 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, local
419 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, local
468 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, local
540 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
578 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
663 LPTSTR printerName = NULL, printerPort = TEXT("LPT1"); local
693 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
766 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
888 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
976 LPTSTR printerName = (LPTSTR)JNU_GetStringPlatformChars(env, printer, NULL); local
[all...]
H A Dawt_PrintControl.cpp105 BOOL AwtPrintControl::FindPrinter(jstring printerName, LPBYTE pPrinterEnum, argument
126 DASSERT(printerName != NULL);
130 JavaStringBuffer printerNameBuf(env, printerName);
593 jstring printerName = (jstring) local
596 if (printerName != NULL) {
602 printerName, NULL);
633 if (AwtPrintControl::FindPrinter(printerName, buffer, &cbBuf,
990 LPTSTR printerName,
993 if (hPrinter == NULL || printerName == NULL || pDevMode == NULL) {
999 DWORD dwNeeded = ::DocumentProperties(NULL, hPrinter, printerName,
989 getDevmode( HANDLE hPrinter, LPTSTR printerName, LPDEVMODE *pDevMode) argument
[all...]
H A Dawt_PrintJob.cpp609 LPTSTR printerName = _tcsdup(lpdevnames+devnames->wDeviceOffset); local
615 if (!::OpenPrinter(printerName, &hPrinter, NULL)) {
620 free ((LPTSTR) printerName);
624 if (!AwtPrintControl::getDevmode(hPrinter, printerName, &pDevMode)) {
631 free ((LPTSTR) printerName);
694 free ((LPTSTR) printerName);
1354 LPTSTR printerName = _tcsdup(lpdevnames+devnames->wDeviceOffset); local
1357 if (::OpenPrinter(printerName, &hPrinter, NULL)== TRUE) {
1362 retval = ::DocumentProperties(NULL, hPrinter,printerName,
1368 free ((char*)printerName);
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPrinterJob.java441 String printerName = getNativePrintService();
442 if (!myService.getName().equals(printerName)) {
448 getPrintServiceByName(printerName));
604 String printerName = getNativePrintService();
606 if (printerName != null) {
608 getPrintServiceByName(printerName);
1923 private void setPrinterNameAttrib(String printerName) { argument
1926 if (printerName == null) {
1930 if (service != null && printerName.equals(service.getName())) {
1935 if (printerName
[all...]

Completed in 450 milliseconds