I observed same problem on my Gutsy 7.10 installation. The printing of Java applications doesn't work. It's a rather annoying problem.
System: x86 on a IBM ThinkPad T43p.
How to reproduce: Open any Java program (I tried Freemind and some others) and try to print.
Expect: Printing dialog appear on GUI
Actual: Nothing happens on GUI (no error message), however, I found following exception text appeared on console:
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:855)
at sun.print.PSPrinterJob.printDialog(PSPrinterJob.java:421)
at freemind.controller.Controller$PrintAction.actionPerformed(Controller.java:870)
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:1216)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
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:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
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)
Packages installed:
ii sun-java6-bin 6-03-0ubuntu2 Sun Java(TM) Runtime Environment (JRE) 6 (arch
ii sun-java6-doc 6-03-0ubuntu2 Sun JDK(TM) Documention -- integration install
ii sun-java6-jre 6-03-0ubuntu2 Sun Java(TM) Runtime Environment (JRE) 6 (arch
ii sun-java6-plugin 6-03-0ubuntu2 The Java(TM) Plug-in, Java SE 6
ii bluez-cups 3.19-0ubuntu3 Bluetooth printer driver for CUPS
ii cups-pdf 2.4.6-3ubuntu10 PDF printer for CUPS
ii cupsys 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - server
ii cupsys-bsd 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - BSD commands
ii cupsys-client 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - client progr
ii cupsys-common 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - common files
ii cupsys-driver-gutenprint 5.0.1-0ubuntu8 printer drivers for CUPS
ii hal-cups-utils 0.6.13+svn83-0ubuntu1 CUPS integration with HAL
ii libcupsimage2 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - image libs
ii libcupsys2 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - libs
ii libgnomecups1.0-1 0.2.2-5ubuntu1 GNOME library for CUPS interaction
ii python-cups 1.9.27-0ubuntu1 Python bindings for CUPS
$ lpstat -t
scheduler is running
system default destination: PDF_file_generator
device for cncdlld3: lpd://9.186.117.9/PASS
device for cncdlld4: lpd://9.186.117.10/PASS
device for PDF_file_generator: cups-pdf:/
cncdlld3 accepting requests since Sat 10 Nov 2007 04:06:06 PM CST
cncdlld4 accepting requests since Tue 30 Oct 2007 03:04:47 PM CST
PDF_file_generator accepting requests since Sat 10 Nov 2007 04:08:19 PM CST
printer cncdlld3 is idle. enabled since Sat 10 Nov 2007 04:06:06 PM CST
printer cncdlld4 is idle. enabled since Tue 30 Oct 2007 03:04:47 PM CST
printer PDF_file_generator is idle. enabled since Sat 10 Nov 2007 04:08:19 PM CST
I observed same problem on my Gutsy 7.10 installation. The printing of Java applications doesn't work. It's a rather annoying problem.
System: x86 on a IBM ThinkPad T43p.
How to reproduce: Open any Java program (I tried Freemind and some others) and try to print.
Expect: Printing dialog appear on GUI
Actual: Nothing happens on GUI (no error message), however, I found following exception text appeared on console: NullPointerExce ption: null attribute IPPPrintService .isAttributeVal ueSupported( IPPPrintService .java:1147) ServiceDialog$ OrientationPane l.updateInfo( ServiceDialog. java:2121) ServiceDialog$ PageSetupPanel. updateInfo( ServiceDialog. java:1263) ServiceDialog. updatePanels( ServiceDialog. java:437) ServiceDialog. initPrintDialog (ServiceDialog. java:195) ServiceDialog. <init>( ServiceDialog. java:124) ServiceUI. printDialog( ServiceUI. java:188) RasterPrinterJo b.printDialog( RasterPrinterJo b.java: 855) PSPrinterJob. printDialog( PSPrinterJob. java:421) controller. Controller$ PrintAction. actionPerformed (Controller. java:870) AbstractButton. fireActionPerfo rmed(AbstractBu tton.java: 1995) AbstractButton$ Handler. actionPerformed (AbstractButton .java:2318) DefaultButtonMo del.fireActionP erformed( DefaultButtonMo del.java: 387) DefaultButtonMo del.setPressed( DefaultButtonMo del.java: 242) AbstractButton. doClick( AbstractButton. java:357) plaf.basic. BasicMenuItemUI .doClick( BasicMenuItemUI .java:1216) plaf.basic. BasicMenuItemUI $Handler. mouseReleased( BasicMenuItemUI .java:1257) Component. processMouseEve nt(Component. java:6038) JComponent. processMouseEve nt(JComponent. java:3265) Component. processEvent( Component. java:5803) Container. processEvent( Container. java:2058) Component. dispatchEventIm pl(Component. java:4410) Container. dispatchEventIm pl(Container. java:2116) Component. dispatchEvent( Component. java:4240) LightweightDisp atcher. retargetMouseEv ent(Container. java:4322) LightweightDisp atcher. processMouseEve nt(Container. java:3986) LightweightDisp atcher. dispatchEvent( Container. java:3916) Container. dispatchEventIm pl(Container. java:2102) Window. dispatchEventIm pl(Window. java:2429) Component. dispatchEvent( Component. java:4240) EventQueue. dispatchEvent( EventQueue. java:599) EventDispatchTh read.pumpOneEve ntForFilters( EventDispatchTh read.java: 273) EventDispatchTh read.pumpEvents ForFilter( EventDispatchTh read.java: 183) EventDispatchTh read.pumpEvents ForHierarchy( EventDispatchTh read.java: 173) EventDispatchTh read.pumpEvents (EventDispatchT hread.java: 168) EventDispatchTh read.pumpEvents (EventDispatchT hread.java: 160) EventDispatchTh read.run( EventDispatchTh read.java: 121)
Exception in thread "AWT-EventQueue-0" java.lang.
at sun.print.
at sun.print.
at sun.print.
at sun.print.
at sun.print.
at sun.print.
at javax.print.
at sun.print.
at sun.print.
at freemind.
at javax.swing.
at javax.swing.
at javax.swing.
at javax.swing.
at javax.swing.
at javax.swing.
at javax.swing.
at java.awt.
at javax.swing.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
at java.awt.
Packages installed: driver- gutenprint 5.0.1-0ubuntu8 printer drivers for CUPS svn83-0ubuntu1 CUPS integration with HAL
ii sun-java6-bin 6-03-0ubuntu2 Sun Java(TM) Runtime Environment (JRE) 6 (arch
ii sun-java6-doc 6-03-0ubuntu2 Sun JDK(TM) Documention -- integration install
ii sun-java6-jre 6-03-0ubuntu2 Sun Java(TM) Runtime Environment (JRE) 6 (arch
ii sun-java6-plugin 6-03-0ubuntu2 The Java(TM) Plug-in, Java SE 6
ii bluez-cups 3.19-0ubuntu3 Bluetooth printer driver for CUPS
ii cups-pdf 2.4.6-3ubuntu10 PDF printer for CUPS
ii cupsys 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - server
ii cupsys-bsd 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - BSD commands
ii cupsys-client 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - client progr
ii cupsys-common 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - common files
ii cupsys-
ii hal-cups-utils 0.6.13+
ii libcupsimage2 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - image libs
ii libcupsys2 1.3.2-1ubuntu7.1 Common UNIX Printing System(tm) - libs
ii libgnomecups1.0-1 0.2.2-5ubuntu1 GNOME library for CUPS interaction
ii python-cups 1.9.27-0ubuntu1 Python bindings for CUPS
$ lpstat -t 186.117. 9/PASS 186.117. 10/PASS
scheduler is running
system default destination: PDF_file_generator
device for cncdlld3: lpd://9.
device for cncdlld4: lpd://9.
device for PDF_file_generator: cups-pdf:/
cncdlld3 accepting requests since Sat 10 Nov 2007 04:06:06 PM CST
cncdlld4 accepting requests since Tue 30 Oct 2007 03:04:47 PM CST
PDF_file_generator accepting requests since Sat 10 Nov 2007 04:08:19 PM CST
printer cncdlld3 is idle. enabled since Sat 10 Nov 2007 04:06:06 PM CST
printer cncdlld4 is idle. enabled since Tue 30 Oct 2007 03:04:47 PM CST
printer PDF_file_generator is idle. enabled since Sat 10 Nov 2007 04:08:19 PM CST
I've tried tips from http:// freemind. sourceforge. net/wiki/ index.php/ FreeMind_ on_Linux# Why_do_ I_get_a_ .22No_print_ service_ found.22_ whenever_ I_attempt_ to_print. 3F
, but no help.
If you need more info please let me know, thanks!