[Samba] Printing probleme Samba 2.2.3.a with CUPS

John H Terpstra jht at samba.org
Fri Nov 1 19:30:37 GMT 2002


On 22 Oct 2002, Frank [iso-8859-1] Küster geb.  [iso-8859-1] Fürst wrote:

> 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

FYI: I do not have any problem with this on Caldera OpenLinux, nor on SuSE
Linux, both of which use CUPS.

FWIW: You might like to check the CUPS documentation in samba-2.2.6. You
can find it in: ~samba/docs/textdocs/CUPS-PrintingInfo.txt - might be
helpful.


>
> 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]
> share?
>
> > 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
>

- John T.
-- 
John H Terpstra
Email: jht at samba.org




More information about the samba mailing list