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

Mozilla : Applets can not be printed with Xprint

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • 6
    • 6
    • deploy
    • None

      OS tested - Solaris Sparc 10, solaris sparc 9

      Steps to reproduce -

      1) Install jre/jdk 6.0
      2) Register plugin with the mozilla browser

      Note - To register Plugin, go to {mozilla_dir}/plugins and create link to the libjavaplugin_oji.so file under the {JRE_HOME}/plugin/sparc/ns7

      For ex., for Solaris 10, the default mozilla is under /usr/sfw/lib/mozilla

      # cd /usr/sfw/lib/mozilla/plugins
      # ln -s /tmp/jre1.6.0/plugin/sparc/ns7/libjavaplugin_oji.so

      Open the browser, and click Help -> About Plug-ins
      This should show Java Plugin 1.6.0

      Next step is to make sure that the browser is configured to print using Xprint.

      To do this;

      Please download the Mozilla Xprint module from -
      http://xprint.mozdev.org/download.html

      Click on the link -
      Solaris 2004-07-07-release_009_001 SPARC binary tarball

      and download the binaries from any of the mirrored sites. The downloaded bundle is attached to the bug report.

      Once you download and untar the bundles, go to the xprint directory and start the xprint server and setup and XPSERVERLIST environment variable.

      Start the Xprint server
      % cd xprint
      % ./run_xprint_from_tarball.sh start

      Set the ${XPSERVERLIST} env var
      # sh
      % XPSERVERLIST="`./run_xprint_from_tarball.sh get_xpserverlist`"
      % export XPSERVERLIST


      Verifying that Xprint is running and working
      % ./run_xprint_from_tarball.sh lsprinters

      This should show the list of printers.

      Now bring up the browser, and make sure that you can print.


      Now, invoke any applet, applets from java.sun.com should do.

      Click File -> Print

      Print dialog should come up and select the right printer and click on OK.

      The applet does not get printed and the following error message is thrown in the terminal.

      Error reading print pipe - {print queue id}

            Unassigned Unassigned
            anprabha Anjana Prabhakar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: