Why do I receive an error when using the File-> Print option in Mac OS X in MATLAB?
Date Last Modified: Wednesday, July 20, 2011
| Solution ID: | 1-5DRO9Z | |
| Product: | MATLAB | |
| Reported in Release: | R2008a | |
| Platform: | Mac Intel | |
| Operating System: | All Mac Intel |
Subject:
Why do I receive an error when using the File-> Print option in Mac OS X in MATLAB?
Problem Description:
I get one of the following two error messages when I try to print from the MATLAB Desktop File menu in Mac OSX:
a)
??? Error using ==> send at 129
Error using ==> send at 129
Problem sending file to output device, system returned error :
lpr: The printer or class was not found.
Error in ==> printdlg>LocalInitFig at 469
if LocalJavaPrintDlg( Data, Dlgname )
Error in ==> printdlg at 100
Dlg=LocalInitFig(Data);
??? Error while evaluating uimenu Callback
b)
??? Error using ==> print at 310
Problem sending file to output device, system returned error :
lpr: The printer or class was not found.
Error in ==> print at 310
throw(ex);
Error in ==> printdlg>LocalJavaPrintDlg at 749
print(Data.Fig, pOpts{:});
Error in ==> printdlg>LocalInitFig at 469
if LocalJavaPrintDlg( Data, Dlgname )
Error in ==> printdlg at 100
Dlg=LocalInitFig(Data);
??? Error while evaluating uimenu Callback
Printing from the command window using the function PRINT works fine.
Solution:This problem can occur when printing to a printer with a name that includes characters other than alphanumeric and underscores. In these situations, the “user-visible name” of the printer differs from the “programmatic name” of its queue, and MATLAB is unable to determine the programmatic name. |
|
|
