Please Help: Unable to print anything in Matlab; error code provided in post

3 views (last 30 days)
Hello, I for whatever reason am unable to print my published m-files using my R2013a version of MATLAB. I have printed many other times using an older version provided by school's virtual lab (runs it from a central school-run server, not actually installed on my computer), but after installing the R2013a version I am getting a lengthy error message when I try to print. Everything else works flawlessly, except for this. Any information on the error code or even how to adjust/view printer options would be helpful.
Here's the error message provided in the command window immediately after pressing print:
Exception in thread "AWT-EventQueue-0" java.awt.print.PrinterException: Invalid name of PrintService. at sun.awt.windows.WPrinterJob.setNativePrintService(Native Method) at sun.awt.windows.WPrinterJob.getPrintService(Unknown Source) at sun.awt.windows.WPrinterJob.printDialog(Unknown Source) at com.mathworks.mlwidgets.html.HTMLPrinterJob.printThePilot(HTMLPrinterJob.java:130) at com.mathworks.mlwidgets.html.HTMLPrinterJob.access$100(HTMLPrinterJob.java:29) at com.mathworks.mlwidgets.html.HTMLPrinterJob$HTMLPrintClass.printMethod(HTMLPrinterJob.java:95) at com.mathworks.mlwidgets.html.HTMLPrinterJob$HTMLPrintClass.run(HTMLPrinterJob.java:65) 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)
  1 Comment
dpb
dpb on 4 Aug 2013
Submit this to official bug report to the TMW site -- actually, probably should contact them w/ installation question first since is w/ new installation. Also search for bug reports/workarounds already posted.

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!