Why am I unable to print in MATLAB using CUPS 1.3.4?

2 visualizaciones (últimos 30 días)
I am trying to print in MATLAB 7.5 (R2007b) and am getting Java errors. I am unable to print within MATLAB, but can print from other applications. I am using CUPS version 1.3.4 and have Java 1.6, but have also tried other versions of Java.
ERROR: java.lang.NullPointerException: null attribute at sun.print.IPPPrintService.isAttributeValueSupported(Unknown Source) at sun.print.ServiceDialog$OrientationPanel.updateInfo(Unknown Source) at sun.print.ServiceDialog$PageSetupPanel.updateInfo(Unknown Source) at sun.print.ServiceDialog.updatePanels(Unknown Source) at sun.print.ServiceDialog.initPrintDialog(Unknown Source) at sun.print.ServiceDialog.<init>(Unknown Source) at javax.print.ServiceUI.printDialog(Unknown Source) at com.mathworks.page.export.printdlg.Printdlg.setVisible(Printdlg.java:470) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.mathworks.jmi.AWTUtilities$Invoker$2.runWithOutput(AWTUtilities.java:135) at com.mathworks.jmi.AWTUtilities$Invoker$1.run(AWTUtilities.java:103) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 30 de Ag. de 2024
Editada: MathWorks Support Team el 30 de Ag. de 2024
The following report discusses the CUPS issue:
referencing problems with /usr/lib/libcups.so
This is a soft link that is not usually created, but (at least in Debian) comes with the libcupsys2-dev package (which in turn is installed by other packages, i.e. when one wants to configure the kernel with a GUI menu).
Attempting to delete this soft link may cause MATLAB to be able to print again.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2007b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by