I'm sorry but this is a Java[tm] bug and there is nothing we can do to workaround this bug. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656
* This bug seems to be fixed in Java[tm] 1.6.0_10. * If you cannot upgrade your Java[tm] runtime, apparently the workaround is to manually set the orientation for the printer: https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191/comments/18 --- The problem is Java & Cups is not understand together. You can have it work by specifying the Orientation in every printers in Cups System -> Printing For each printer select Job Options tab and specify Orientation to whatever else instead of "Automatic Rotation". --- --- PS: I've CC-ed our answers to xmleditor-support at xmlmind.com as your questions and their answers are of general interest. Fred Brown wrote: > > I'm using the current professional xe-usr-4.1 distribution on Ubuntu > Linux 8.04 with Java version "1.6.0_07". XXE loads fine and opens my > Docbook XML file, but refuses to display the File/Print dialog box. How > do I get Print to work? > > The following lines appear in my Terminal when I click on File/Print: > > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: > null attribute > at > sun.print.IPPPrintService.isAttributeValueSupported(IPPPrintService.java:1147) > at sun.print.ServiceDialog > $OrientationPanel.updateInfo(ServiceDialog.java:2121) > at sun.print.ServiceDialog > $PageSetupPanel.updateInfo(ServiceDialog.java:1263) > at sun.print.ServiceDialog.updatePanels(ServiceDialog.java:437) > at sun.print.ServiceDialog.initPrintDialog(ServiceDialog.java:195) > at sun.print.ServiceDialog.<init>(ServiceDialog.java:124) > at javax.print.ServiceUI.printDialog(ServiceUI.java:188) > at sun.print.RasterPrinterJob.printDialog(RasterPrinterJob.java:856) > at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421) > at > com.xmlmind.xmleditapp.kit.part.PrintAction.init(PrintAction.java:86) > at > com.xmlmind.xmleditapp.kit.CancelableAction.doIt(CancelableAction.java:43) > at > com.xmlmind.xmleditapp.kit.AppAction.actionPerformed(AppAction.java:38) > at > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) > at javax.swing.AbstractButton > $Handler.actionPerformed(AbstractButton.java:2318) > at > javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) > at > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) > at javax.swing.AbstractButton.doClick(AbstractButton.java:357) > at > javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220) > at javax.swing.plaf.basic.BasicMenuItemUI > $Handler.mouseReleased(BasicMenuItemUI.java:1261) > at java.awt.Component.processMouseEvent(Component.java:6041) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) > at java.awt.Component.processEvent(Component.java:5806) > at java.awt.Container.processEvent(Container.java:2058) > at java.awt.Component.dispatchEventImpl(Component.java:4413) > at java.awt.Container.dispatchEventImpl(Container.java:2116) > at java.awt.Component.dispatchEvent(Component.java:4243) > at > java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) > at > java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) > at java.awt.Container.dispatchEventImpl(Container.java:2102) > at java.awt.Window.dispatchEventImpl(Window.java:2440) > at java.awt.Component.dispatchEvent(Component.java:4243) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) > at > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) > at > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) > > > Also note that the File/Page Setup dialog box doesn't work either. >

