Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4640943

Printer list error in printdialog.

    Details

    • Subcomponent:
      2d
    • CPU:
      sparc
    • OS:
      solaris_9

      Description

      Build level: 1.3.1_03 b02
      locale: zh(all locales)
      OS: solaris 9

      reproduce:
      1) in l10n testcase 4.12, run "sh unix.sh"
      2) in the last one: Toolkit.getPrintJob() dialog, when click the cursor of "printer" and the printer list doesn't list the correct printer which is setup as system printer. In my testing environment, the printer is "orange", but, in the printer list, the printer is "pr-cbjs03-03" which is the server name of the printer: orange.
      See the attached file: printdialog.tar.
      3) We checked the sun.awt.print.AwtPrintControl and can see, because we have made localization and changed the sequence of the words, the cut function cannot get the correct string for printer name. If we add env LC_ALL=C before running all commands in sun.awt.print.AwtPrintControl to make sure the "cut" action can get the correct string for printname, we can get the correct printer list for the testing.

        Attachments

          Activity

            People

            • Assignee:
              psadhukhan Prasanta Sadhukhan
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: