Why am I unable to print in MATLAB using CUPS 1.3.4?
3 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2009 年 6 月 27 日
編集済み: MathWorks Support Team
2024 年 8 月 30 日
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)
採用された回答
MathWorks Support Team
2024 年 8 月 30 日
編集済み: MathWorks Support Team
2024 年 8 月 30 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!