Hi,

I have a bug report against UMLet [1] which states that printing to a
shared SMB printer using CUPS with authentication-requirement does not
work. I had the reporter test printing with "freemind" too, where he has
the same problem.

A superficial web search does not reveal a solution for this problem and
I am not so much into the Java-Printing stuff that I can do a lot here.

Since UMLet uses standard java mechanism for printing I suspect it is
not really an UMLet bug, but one within Java (he uses OpenJDK 6):

                import java.awt.print.PrinterJob;

                [...]

                PrinterJob printJob = PrinterJob.getPrinterJob();
                printJob.setPrintable(this.getDrawPanel());
                if (printJob.printDialog()) try {
                        printJob.print();
                } catch (PrinterException pe) {
                        Main.displayError(Constants.ERROR_PRINTING);
                }

Any help would be appreciated.

Best regards

Ben

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651533


__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to