Saturday, November 1, 2008

Printing from Java with CUPS 1.3+

I had a problem with printing from the Java application on my Fedora 9. The problem was quite strange and reproducible on both Java 1.5. and 1.6. It was even more strange because it appeared only after I've updated my Fedora to version 9.
It turned out that the problem was on the level where Java meets CUPS 1.3+. There is a corresponding Sun's bug. There is no such problem for CUPS version lover than 1.3. It looks like Java had made too many assumption how CUPS should work... and CUPS guys changed some things in 1.3.
As always Google came with help and the solution was found.