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

DocPrintJob prints double the no. of copies for images when Collate is set

XMLWordPrintable

    • 2d
    • hopper
    • generic
    • solaris
    • Verified

      This bug is specific to Solaris.
      Attached is a testcase which uses a print dialog (using javax.print package)
      to set the attributes and then prints an image with the selected attributes
      using DocPrintJob. The build used for testing is B89.

      Steps to reproduce:

      1. Run 'java PrintDialogTest'
      2. Select no. of copies as 2 and check the collate option.
      3. Click on the print button.
      4. The testcase prints 4 images (fish.gif attached) instead of 2.

      The following points were observed:
      1. The testcase was tested with 2 printers:
          Lexmark Optra S 1855 and HP LaserJet 8000N and it fails on both.
      2. The testcase works fine when collate option is not selected.
      3. It works on Windows with collate option set and unset.
      4. It works fine on Solaris when we print a text rather than an image.

      We haven't tested with the earlier builds yet.

      Source File: PrintDialogTest.java
      Resource File: fish.gif

      fixed. verify on Lexmark Optra S 1855 with java version "Java2D:08-Apr-02@04:09"
      ###@###.### 2002-04-09

            jgodinez Jennifer Godinez (Inactive)
            kbalasubsunw Kannan Balasubramanian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: