Hallo UUsers, das Drucken aus Java-Programmen scheint noch immer ein Problem zu sein:
YED-Graphischer Editor –> Programmstart –> Hilfe-Datei ausdrucken, erstes Problem (Errormeldung) –→ Neustart –> Arbeitsschritte, ohne Probleme –> ausdrucken gleiche Problem
java.lang.NullPointerExeption: null attribute at sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147) at sun.print.ServiceDialog$OrientationPanel.updateinfo(ServiceDialog.java:2121) at sun.print.ServiceDialog$PagaSetupPanel.updateinfo(ServiceDialog.java: at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:) at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:) at sun.print.ServiceDialog.<init>(ServiceDialog.java:) at javax.print.ServiceUI.printDialog(ServiceDialog.java:188) at sun.print.RasterprinterJob.printDialog(RasterprinterJob.java:856) at sun.print.PSPrinterJob.printDialog(PSPrinterjob.java:421) at com.sun.java.help.impl.jHelpPrintHandler$PrintThread.run(JHelpPrintHandler.java:460)
Der letzte Satz und Google brachten mich nach hier: Bug ID: 6633656 Cross platform print dialog doesn't check for ... letzte Meldung zu diesem Thema:
bugs.sun.com Submitted On 02-JUN-2008 FeriW just tested with java6_10 build 22. confirmed to be fixed in this build
just tested with java6_10 build 24 on linux mandriva 2008 (kernel version 2.6.24.4-desktop-1mnb) , that is true that the print dialog is shown BUT when we press print button, the printer process just stopped and did not print anything.
Jemand schon eine Lösung oder Tipp wie man das umgehen kann, um aus Java Programmen zu drucken (Kommandozeile, *.ps/*.pdf etc. 😬)❓.
Dank vorraus, netten Gruß, xrolly