This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Image fails to print from applet on windows
Posted by Eric Norum on January 31, 2002 at 6:49 PM
I've put together an applet which uses the VXI-11 remote procedure calls
to get images from IEEE-488 test equipment connected to ethernet via a
GPIB/LAN adapter. I'm using JDK-1.3.02. On all systems I've tried
(Linux netscape 4 and netscape 6, and Mac OS X Internet Explorer 5.1,
Windows Internet Explorer and Netscape 4) the applet can successfully
get the image from the device and display it in the browser. When I try
to print the image I have problems on windows with either browser. All
the other systems seem to be able to print with no problems.
I tried putting some diagnostic code in my classes print method and
found that on Linux/Mac OS X the print method is invoked three times
each time I print an image. On windows the print method is invoked only
Is something broken in the PrinterJob class on windows or am I doing