Path: news.mathworks.com!not-for-mail
From: "Jorge Ramirez" <ramirez@engr.colostate.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Printing problems with Snow Leopard
Date: Tue, 20 Oct 2009 21:00:19 +0000 (UTC)
Organization: Colorado State University
Lines: 23
Message-ID: <hbl8d3$4td$1@fred.mathworks.com>
Reply-To: "Jorge Ramirez" <ramirez@engr.colostate.edu>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256072419 5037 172.30.248.37 (20 Oct 2009 21:00:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 20 Oct 2009 21:00:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2027569
Xref: news.mathworks.com comp.soft-sys.matlab:578799


I am unable to print figures to my USB connected printer. However, I am able to print files from the Matlab m-file editor without problems. The problem only occurs when trying to print Matlab-generated figures from the Matlab figure editor. The printer is a Canon MP620 Series, and it is connected to my iMac via USB.

I have edited the file /etc/cups/cupsd.conf and added the line: Printcap /etc/printcap at the beginning of the file, as has been suggested in this forum. I have restarted Matlab and the computer many times but the problem still persists. I have made sure that the cupsd.conf file has indeed been changed and saved.

I am running Snow Leopard 10.6.1 on a 24" iMac. The error messages I get when trying to print figures from the figure editor window are:

??? Error using ==> print at 325
Problem sending file to output device, system returned error :
lpr: The printer or class was not found.


Error in ==> printdlg>LocalJavaPrintDlg at 759
        print(Data.Fig, pOpts{:});

Error in ==> printdlg>LocalInitFig at 479
  if LocalJavaPrintDlg( Data, Dlgname )

Error in ==> printdlg at 104
   Dlg=LocalInitFig(Data);
 
??? Error while evaluating uimenu Callback

Thank you very much.