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

Copies attribute is ignored by print service for POSTSCRIPT flavor on win32

XMLWordPrintable

    • 2d
    • b47
    • x86
    • windows_xp
    • Verified

      I am trying to print 2 copies of a postscript file to the printer using INPUT_STREAM.POSTSCRIPT doc flavor on WinXP. The print service available on the system claims that it supports the specified flavor, copies attribute category and the attribute value of 2. But when I print the PS file, I am getting only one copy of the file regardless of what the copies attribute specify. When I execute the same application on solaris, it works fine and I am getting 2 copies of the print data. Copies attribute is a most commonly used attribute and hence must work fine for all doc flavors.

      If this value is not supported and print service is expected to take the value from the PS file itself, then the print service should not claim to support it just like the orientation attribute.

      I am able to reproduce this failure right from JDK1.4+ on Win XP.

      I have attached a sample testcase. Execute the sample test on Win XP and pass the attached PS file in the command line. If you don't get 2 copies of the ps file, then the bug is reproduced.

      I am using a Xerox Docuprint N4025 PS printer. However I am able to reproduce this with Lexmark Optra T610 also.

            kbalasubsunw Kannan Balasubramanian (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: