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

Java 2D printing API : images are B&W on PCL printers on win95/98 only

XMLWordPrintable

    • 2d
    • beta
    • x86
    • windows_95, windows_98, windows_nt
    • Verified

        Build : 'L'
        OS : Win95/98 (Sol, NT...ok)

        Everything is printed in B&W on 95/98. No levels of gray to represent color.

        See attached testcase.
        ===============
        This problem appears specific to PCL printers on win95/98.
        The printers are not colour printers.
        The same code works fine on NT
        There are two different manifestations depending on whether the page
        is printed using the raster or path graphics implementations.

        If the raster path is invoked inside the implementation the page is
        completely mangled with the scan stride appearing incorrect.

        This is true as far back as 1.2FCS.

        In kestrel beta, images can now be printed through the path graphics pipe.
        There the page appears correct in pixel alignment, but a thresholding effect
        is now apparent which makes the image pixels either black or white, rather
        than using the printer's resolution to create a greyscale effect.


        channasubbanna.prasad@eng 2000-08-11

        We are experiencing problems printing images (PNG, JPEG, GIF) from an
        applet running inside Java Plug-in 1.3 on Windows95 machines. Our
        problems range from "no graphics at all" to "very unusable quality
        images". The printers are of PCL type. The same applet prints
        beautifully from NT 4.0 boxes to the same printers.

        This internet application is aimed at our 43 million members who have
        low end deskjet printers that do not have postscript capabilities.
        Case in point is an HP DeskJet 950C Color printer.

        The text on the page prints very well on all printers tested so far.
        The rectangle around the image (drawn with a drawRect) shows up in all
        cases. The image does not.

        List of printers reporting problems:
        HP 950C Color DeskJet (majority at beta sites - no image at all)
        HP 2100TN (no image at all)
        HP LJ3 Laser B&W (no image at all)
        HP LJ5N Laser B&W (no image at all)
        HP 4500N (works well with a PS driver, prints very bad graphics with a PCL
        driver)


        Please find attached a testcase which demonstrates this problem.
        (AAAtestcase.tar.Z - you will have to supply your image to test this applet.)
        ===========================

        heidi.chen@eng 2001-03-14
        Verified on Ladybird build 14 with win98/95.
        ===========================

              jgodinez Jennifer Godinez (Inactive)
              rckim Robert Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: