[Samba] Printing probleme Samba 2.2.3.a with CUPS

Frank Küster geb. Fürst ffrank at rz.uni-potsdam.de
Fri Oct 25 02:23:54 GMT 2002

Let me step in on this topic...

"Gerald (Jerry) Carter" <jerry at samba.org> wrote:

> On Sat, 21 Sep 2002, linux power wrote:
> > There is a bug in samba printing cups at least for
> > version 2.2.3 and up. It cant resolve -P %p in the
> > print command line. Fix it by replacing -P %p with the
> > absolute path to the printing device found in lpstat
> > -v

You mean this is still a problem in 2.2.5 and 2.2.6? And what can I do
if I don't have a share for each printer, but just a general [printers]

> So I've been thinking about this and was just about to dig into 
> fixing it, but am confused.  Did you compile Samba to include 
> the cups libraries?  If so then setting
> [global]
> 	printing = cups
> 	printcap name = cups
> is all you need.  You don't need the "print command" in this 
> case as smbd will send directly through the cups API.

I have problems to: In my setting, the samba spool files aren't deleted
after succesful printing. I have compiled Samba 2.2.5 from a Debian
source package, and I assumed that its prepared to compile with
libcups2. I admit I didn't check (and cannot do this right now). Could
this be the reason?

TIA, Frank
Ich habe z.Z. nur einmal pro Tag Netzzugang. Daher kommen meine Antworten 
langsamer als üblich

Frank Küster geb. Fürst

More information about the samba mailing list