← Back to team overview

openjdk team mailing list archive

[Bug 228588] Re: [hardy] Printing in Java applications with OpenJDK doesn't work

 

please could you recheck with 6b10 from intrepid or from the hardy
openjdk PPA?


** Changed in: openjdk-6 (Ubuntu)
       Status: New => Incomplete

-- 
[hardy] Printing in Java applications with OpenJDK doesn't work
https://bugs.launchpad.net/bugs/228588
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in Source Package "openjdk-6" in Ubuntu: Incomplete

Bug description:
Currently it seems that I am not able to print anything from Java applications (tested on ArgoUML and jEdit):

- If I click on "print", the Java print dialog appears in a normal way
- If I confirm the printing now, then the Cups printer icon appears in the tray, but it doesn't disappear after a few seconds as usual, it remains there
- If you click on it to view the printing queue you can see that the previously started job is stopped and cannot be started, so you have to cancel it to get rid of it.

I'm gonna attaching a detailed Cups error log of an attempt to print with a Java application.

Printing with "normal" applications like Firefox, Evince, etc. works fine. So I also tried to print into a postscript file (can be enabled in the Java printing dialog) to print if from another (non-java) application. The result was quite interesting:

- Evince wasn't able to display the output postscript file correctly, it showed a thumbnail preview of the page content on the left but the main page view remained empty (The thumbnail looked correct allthough).
- When I tried to print the document, now funnily the same behaviour as described above happened (as if Evince was also a Java application ;-) ).

So I would guess that there is something wrong with the postscripts created by the Java print dialog?

My printer is a Canon Pixma iP4000 which is plugged on a Windows machine and accessed via network. As a JVM I'm using OpenJDK, I also installed sun-java-5 and 6 to see if printings works with one of them, but the result was even worse, I ran into this bug:
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191/comments/12

Kind regards,
Jan



References