Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: [Help] Printing problem in Mac OSX Leopard
Date: Thu, 8 Nov 2007 13:29:35 +0000 (UTC)
Organization: The MathWorks
Lines: 63
Message-ID: <fgv2vv$45q$1@fred.mathworks.com>
References: <fg5k90$6uk$1@fred.mathworks.com> <fg77g3$6jo$1@fred.mathworks.com> <fg7v7f$8cd$1@fred.mathworks.com> <fg81a0$ijr$1@fred.mathworks.com> <fgdj93$bsh$1@fred.mathworks.com> <fgf4a1$s68$1@fred.mathworks.com> <fgg2l2$mju$1@fred.mathworks.com> <fgneub$o5v$1@fred.mathworks.com> <fgnmb7$ab5$1@fred.mathworks.com> <fgpto8$9fi$1@fred.mathworks.com> <fgqoaq$8o4$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1194528575 4282 172.30.248.38 (8 Nov 2007 13:29:35 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 8 Nov 2007 13:29:35 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1034498
Xref: news.mathworks.com comp.soft-sys.matlab:436570



"Niner " <ninerh@seed.net.tw> wrote in message
<fgqoaq$8o4$1@fred.mathworks.com>...
> Richard Quist <rquist_nospam@mathworks.com> wrote in message
> > > 
> > 
> > I'm glad that setting the print queue name is working
for you.
> > 
> > As far as having to go and press the 'print' button on
the printer to 
> > get the printout to appear, I don't think reinstalling
MATLAB will help. 
> > I suspect it's either a problem with Leopard or with the
HP driver 
> > (there seem to be quite a few printing-related issues
being discussed on 
> > the Apple Leopard forums).
> > -- 
> > 
> > Richard Quist
> > Software Developer
> > The MathWorks, Inc.
> 
> 
> Hi Richard,
> 
>     Thanks a lot for your help. For the problem of
pressing the print button, I 
> found a solution. I reset the printer in my Mac. But this
time I let Mac detect 
> the printer type, not assigning it as HP LaserJet 1320. So
I use "Generic 
> PostScript Printer". Then when I print the figure under
Matlab, the figure is 
> printed without stopping by and pressing the print button.
GREAT~
> 
>    Just write down my comment to follow up. Thank you.
> 
> 
> Niner
>  

One more followup for others looking at this thread. 

In my investigations here I also found that enabling the
creation of the printcap file in the cups configuration, and
specifying that the printcap file be created in the  /etc 
directory will enable MATLAB to make the translation between
the printer address/name that is shown in the File->Print
dialog box and the printer queue name that the OS is
expecting. MATLAB has some Mac-only code that does this
translation, but it will only work if the printcap file is
created and in that location (/etc/printcap). 

If it's not already configured, edit the cupsd.conf file and
add this line:
Printcap /etc/printcap 

--
Richard Quist
Software Developer
The Mathworks, Inc