Subject: Re: Cups and Samba
To: Eric Jacoboni <jaco@teaser.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 09/16/2002 19:48:03
On Mon, Sep 16, 2002 at 11:15:11AM +0200, Eric Jacoboni wrote:
> Hi,
> 
> Cups is running on my i386 -current box. It works fine, at least with
> Gimp, Mozilla and /usr/local/bin/lpr command.
> 
> My printer is connected on my NetBSD box, so i'm using Samba to make
> my wife's Windows 98 printing on this printer, too. It used to work
> with stock lpd but, now, Windows is unable to print anything (the
> printer is still visible on the Windows network).
> 
> My smb.conf follows what i've found on the Web concerning Samba and
> Cups:
> 
> [global]
>         workgroup = WORKGROUP
>         encrypt passwords = yes
>         load printers = yes
>         printcap name = cups
>         printing = cups
> [printers]
>         printable = yes
>         public = yes
>         guest ok = yes
>         path = /var/spool/samba
>         print command = /usr/local/bin/lpr -P %p -o raw %s
>         lpq command = lpstat -o %p
>         lprm command = cancel %p-%j
> 
> I've tried various others configuration, but none works: Windows says
> it cannot print...
> 
> I've nothing in my log files so i don't know if this problem is
> related to cups, samba or both of them.

Maybe try to remove the commands lines related to printing. I use samba
with printing=cups, and it works without theses.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--