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

printing problems in JDK1.2 using HotJava bean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.2
    • 1.2.0
    • client-libs
    • 2d
    • 1.2.2
    • generic, x86
    • generic, windows_95, windows_nt

      This is following on from 4157453, which has got somewhat muddled and
      is not a complete statement of the current problem/issues (which have
      been going on for a long time now)

      A licensee has developed a large application on JDK1.2. It uses
      the HotJava bean as a printing engine. The HTML files that the app
      prints contain a mixture of images and text and there are two
      problems.

      1. The resulting printed output is corrupted in a number of ways
         -- see attachment BAD.JPG for an example. The text is rendered
         in very poor quality. The images are also very poor quality.
         It also looks like small circular white blobs have been drawn
         on top of the text and the images. These blobs are about the same
         size as the small bullet images that did not appear at all.
         Compare with GOOD.JPG to see where they should go. Some images
         are not printed at all.

      2. The second problem is that printing to PostScript printers
         does not work at all. A large output file is produced which when
         using the HotJava bean always produces a blank page. This is a known
         problem (described in 4173275)

      Note, the problems do not occur using the same test, same bean with JDK1.1.7

      Attached are:
        - TEST.ZIP A copy of the bean, the test app and the HTML page that
                   shows these problems.
        - GOOD.JPG A piece of a scanned printed page produced by running the test case
                   using JDK1.1.7.
        - BAD.JPG A piece of a scanned printed page produced by running test
                   with JDK1.2.

      To run the test, extract the zip file somewhere, set CLASSPATH=.;HotJavaBean.jar
      For JDK1.2 run:
         oldjava TestBrowser
      For JDK1.1.7 run:
         java TestBrowser

      type in the URL: file:/path_to_install_dir/test/test.html
      and press the Print button when the page loads.

      Finally, case 2 can be reproduced using any Postscript printer.
      Case 1 was tested here using a HP LaserJet 5Si MX using the
      following driver files:
        PCL5EMS.DLL (4.00)
        PJLMON.DLL (4.00)
        RASDD.DLL (4.00)
        RASDDUI.DLL (4.00)
        RASDDUI.HLP
        
      Would like to see a solution to these problems for Cricket release.

      =================================================================
      I should have added that this is a Windows problem.
      PostScript printing seems to work okay on Solaris.

      michael.mcmahon@ireland 1999-01-25
      =================================================================

            duke J. Duke
            michaelm Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: