Why am I unable to print in MATLAB using CUPS 1.3.4?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 27 Juin 2009
Modifié(e) : MathWorks Support Team
le 30 Août 2024
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)
Réponse acceptée
MathWorks Support Team
le 30 Août 2024
Modifié(e) : MathWorks Support Team
le 30 Août 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!