When I try to print the contents of one of the desktop windows, such as the Command Window or Editor, I receive the following error message:
java.awt.print.PrinterIOException: java.io.IOException: /usr/bin/lpr: not found at sun.awt.motif.PSPrinterJob$PrinterSpooler.run(PSPrinterJob.java:679) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.motif.PSPrinterJob.endDoc(PSPrinterJob.java:719) at sun.java2d.RasterPrinterJob.print(RasterPrinterJob.java:355) at com.mathworks.mwt.print.MWPrinterJob2.print(MWPrinterJob2.java:80) at com.mathworks.mwt.text.MWTextComponent$PrintProc.run(MWTextComponent.java:855) at java.lang.Thread.run(Thread.java:484)
However, I can print MATLAB figures without any problems.
Best Answer