The following exceptions are generated when trying to print from a figure:
java.lang.IllegalArgumentException: services must be non-null and non-empty at javax.print.ServiceUI.printDialog(Unknown Source) at com.mathworks.page.export.printdlg.Printdlg.setVisible(Printdlg.java:453)
These exceptions are generated when trying to print from the editor:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: services must be non-null and non-empty at javax.print.ServiceUI.printDialog(Unknown Source) at com.mathworks.widgets.SyntaxTextPaneBase.printDocument(SyntaxTextPaneBase.java:2027) at com.mathworks.widgets.SyntaxTextPaneMultiView.printDocument(SyntaxTextPaneMultiView.java:663) at com.mathworks.mde.editor.EditorView.doPrint(EditorView.java:1127)
Best Answer