Printing Problem

David Gregory dgregory at
Wed Oct 31 09:27:54 GMT 2001

Done that too. :) I'm definitely leaning towards something to do with
cups. To get cups printing in samba I've set:
	Printing = cups
	Printcap = lpstat

As per the docs. Logically then when samba starts and initialises the
printer it obviously calls lpstat which must query cups but come back
with nothing. I'll have to check the cups docs and see if there's a
delay between launching the daemon and it advertising the printer. Maybe
there's a setting for cups to perk everything up.

I'll keep trawling.


-----Original Message-----
From: Leonardo Luiz Padovani da Mata [mailto:barroca at] 
Sent: 31 October 2001 5:09 pm
To: David Gregory
Cc: samba at
Subject: RE: Printing Problem

duplicate the scrit that starts the samba, starting and restarting at
On Wed, 31 Oct 2001, David Gregory wrote:

> I thought of this myself but samba is started from rc.local which is
> very last thing that gets run at boot. I'm fairly certain it's
> to do with cups but as of yet have not been able to track it down. Any
> other ideas?
> David.
> -----Original Message-----
> From: Leonardo Luiz Padovani da Mata [mailto:barroca at] 
> Sent: 30 October 2001 3:54 pm
> To: David Gregory
> Cc: samba at
> Subject: Re: Printing Problem
> maybe, the lp server is starting after the samba server, and the
> couldn't be found.
> Check this
> Leonardo
> On Tue, 30 Oct 2001, David Gregory wrote:
> > Got a slight problem with printing from WindowsXP to my Mandrake 8.0
> > server running Samba 2.2.1a.
> > 
> > Samba is configured for file/print services on my home lan and is
> > configured to start when the server boots. The weird thing is that
> when
> > the pcs come onto the lan they map their appropriate network shares
> > problem, but, the connection to the printer is not there. What makes
> > this even stranger is that I know samba is configured properly cause
> > simple stop/start of samba makes the problem go away. My question is
> why
> > does the printer not get advertised when the samba server originally
> > boots when the network file shares do?
> > 
> > Any help would be much appreciated.
> > 
> > David.
> > 

More information about the samba mailing list