Why do I get a "printjob/ghostscript" error when trying to run the demo web programs that generate graphics?

1 view (last 30 days)
Why do I get the following error when trying to run the demo web programs that generate graphics?
MATLAB Application Error:
Error using ==> print Error using ==> printjob/ghostscript Problem converting PostScript. GhostScript returned error: stty: : Invalid argument

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
The graphics created by the MATLAB Web Server in the WEBPEAKS demo, are JPEG images. JPEG images are created by obtaining a screen capture of MATLAB figures, and therefore require a display environment on the UNIX and Linux platforms.
A request to allow MATLAB to run in a display free environment has been forwarded to our development staff as an enhancement for a future version of MATLAB and the MATLAB Web Server.
There are no known workarounds at this time.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!