On Mon, Dec 12, 2011 at 22:28, bensmail wrote:
> Freemind comes to my mind (sorry for the pun ;) And it seems to use
> exactly the same printing mechanism.
> I guess it does not work there either. In that case I will forward the
> bug to some knowledgable people..
Dear Ben, I think you're right.
Printing from Freemind doesn't work either.
Actually I didn't have "/usr/bin/lpr".
This is the output I got after pressing "Print" in Freemind's print dialog:
$ freemind
Checking Java Version...
15-dic-2011 11.41.58 freemind.main.Resources logException
GRAVE: An exception occured:
java.awt.print.PrinterIOException
at sun.print.PSPrinterJob$PrinterSpooler.run(PSPrinterJob.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at sun.print.PSPrinterJob.endDoc(PSPrinterJob.java:738)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1472)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1273)
at
freemind.controller.Controller$PrintAction.actionPerformed(Controller.java:984)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
at java.awt.Component.processMouseEvent(Component.java:6268)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6033)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4629)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4455)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
at java.awt.Container.dispatchEventImpl(Container.java:2089)
at java.awt.Window.dispatchEventImpl(Window.java:2517)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.io.IOException: Cannot run program "/usr/bin/lpr":
java.io.IOException: error=2, File o directory non esistente
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at sun.print.PSPrinterJob$PrinterSpooler.run(PSPrinterJob.java:687)
... 43 more
Caused by: java.io.IOException: java.io.IOException: error=2, File o
directory non esistente
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:468)
... 46 more
My /var/log/lpr.log was full of lines like these:
udev-configure-printer: add /module/lp
udev-configure-printer: Failed to get parent
I installed the package "lpr" but the situation has not improved much
because I still can't print either with UMLet or FreeMind. Now when I
try to print I don't get any error message but nothing else happen.
My /var/log/lpr.log is filling up with lines like these:
udev-configure-printer: add /module/lp
udev-configure-printer: Failed to get parent
lpd[1386]: restarted
When I print using other application with which I can print (gedit,
evince, etc.), I get prompted for credentials to access the shared
printer. Maybe I'm missing some configuration?
Thank you for your support, best regards.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]