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

[macosx] Printing attribute (name) wrong when running under OSX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7u25
    • client-libs
    • 2d
    • os_x

      FULL PRODUCT VERSION :
      Java(TM) SE Runtime Environment (build 1.7.0_25-b15)

      ADDITIONAL OS VERSION INFORMATION :
      OSX 10.8.4

      A DESCRIPTION OF THE PROBLEM :
      I have the exact same issue as reported in bug JDK-7178646

      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7178646

      The above report has a status of closed without a resolution. I would like an explanation as to why this has been abandoned as it has broken my application. The code I run works fine with the Apple Java 1.6 implementation but has never worked with any version of the Oracle Java 1.7 code.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      I have the exact same issue as reported in bug JDK-7178646

      http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7178646

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Correct printer name needs to be returned without character substitutions.
      ACTUAL -
      Spaced replaced with underscores etc,

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      My application used both the printer attribute for name and queue to display all the printers available to the user, then allows the user to change the default o/s print queue by executing a shell command to change it. However since Java 1.7 this does not work as the names and attibutes of the printers when running under OSX are wrong. The exact same source code when run with Java 1.6 on the same computer works perfectly. See previous bug for additional example code.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      None - Use java 1.6

            jgodinez Jennifer Godinez (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: