jdk/src/solaris/classes/sun/print/CUPSPrinter.java
changeset 542 eb75700cdf75
parent 2 90ce3da70b43
child 715 f16baef3a20e
--- a/jdk/src/solaris/classes/sun/print/CUPSPrinter.java	Thu Apr 10 10:23:47 2008 -0700
+++ b/jdk/src/solaris/classes/sun/print/CUPSPrinter.java	Thu Apr 10 13:57:15 2008 -0700
@@ -333,7 +333,7 @@
                     AttributeClass.ATTRIBUTES_NATURAL_LANGUAGE,
                     new AttributeClass("requested-attributes",
                                        AttributeClass.TAG_KEYWORD,
-                                       "printer-name")
+                                       "printer-uri-supported")
                 };
 
                 if (IPPPrintService.writeIPPRequest(os,
@@ -354,7 +354,7 @@
                     ArrayList printerNames = new ArrayList();
                     for (int i=0; i< responseMap.length; i++) {
                         AttributeClass attribClass = (AttributeClass)
-                            responseMap[i].get("printer-name");
+                            responseMap[i].get("printer-uri-supported");
 
                         if (attribClass != null) {
                             String nameStr = attribClass.getStringValue();