PDA

View Full Version : java printing problem



nnylip
11th May 2006, 03:47 PM
A java print test program which used to work on fc4 and xp and now simply does not work. The (3) test programs are here:
http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-Printing.html

I am using a samsung ml-1750 with the hpijs driver although I do not think this matters.

It attemps to print a jpanel image first bringing up the print dialog box, and then printing.

When the 'print' button is pressed nothing happens. If 'print to file' is chosen, an empty file is written out.

As I am supposed to be enhancing a print function for a java application, this is a B I G problem.

Any and all help is appreciated. Thanks
Lou

nnylip
11th May 2006, 03:50 PM
I forgot to mention that if FC5 will print other stuff (such as a web page or kedit file). So it looks like java / fc5 related. - Lou

nnylip
11th May 2006, 05:08 PM
This URL: works, the other was truncated:
http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-Printing.html

olenb
11th May 2006, 05:21 PM
I would suggest using Sun's java, if you aren't already.

nnylip
12th May 2006, 03:45 AM
Thats what I am using, set up using the instructions as stanton-finley.org
LL

nnylip
16th May 2006, 02:07 PM
As a follow-up (if anyone is interested). I updated my system ( "yum update -y" ) and the problem got fixed. I am now running kernel 2.6.16-1.2111_FC5. Currently, the most things seem to work with any version of fedora I've tried. - Lou