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

조회 수: 3 (최근 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
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개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2007b

Community Treasure Hunt

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

Start Hunting!

Translated by