On Wed, Oct 24, 2001 at 08:14:55PM -0500, Lance Hoffmeyer wrote:
| I have cups installed and I am trying to setup a Win2000
| machine to print.  Samba is configured and working, I have 

I haven't tried with a win2k client, but I have CUPS/samba working
with win[95,98,me] clients.

| shared drives.  I changed the smb.conf file 
| 
| printing = cups

Yes.

| printcap name = lpstat (which is not in docs)

Not necessary -- samba will use CUPS config and doesn't need any
printcap at all.

| and when I go to install printer on Win2000
| it finds the printer but once I have the
| printer installed on Win2000 it says
| "Access denied, cannot connect".  How can I
| fix this?

You have a "[printers]" section, right?

That section should have a path, such as /tmp.  It needs to be
writable by the user that samba runs as (everyone is simplest).  This
directory is used just to stash the data the win box sends as a file,
then it runs 'lpr' on it to queue it.  If this directory isn't
writable by samba then the client complains about not being able to
send the data to the "printer".

HTH,
-D

Reply via email to